From acf9d7b001514b3586166cbd0609e9d836ada792 Mon Sep 17 00:00:00 2001 From: lu <123456> Date: 星期三, 23 七月 2025 16:24:49 +0800 Subject: [PATCH] bug --- DevApp/Gs.DevApp/XtraForm1.Designer.cs | 101 ++++++++++++++++++++++++++++++++++++++++---------- 1 files changed, 80 insertions(+), 21 deletions(-) diff --git a/DevApp/Gs.DevApp/XtraForm1.Designer.cs b/DevApp/Gs.DevApp/XtraForm1.Designer.cs index 507a269..df355c2 100644 --- a/DevApp/Gs.DevApp/XtraForm1.Designer.cs +++ b/DevApp/Gs.DevApp/XtraForm1.Designer.cs @@ -28,46 +28,105 @@ /// </summary> private void InitializeComponent() { - this.splitContainerControl1 = new DevExpress.XtraEditors.SplitContainerControl(); - ((System.ComponentModel.ISupportInitialize)(this.splitContainerControl1)).BeginInit(); - ((System.ComponentModel.ISupportInitialize)(this.splitContainerControl1.Panel1)).BeginInit(); - ((System.ComponentModel.ISupportInitialize)(this.splitContainerControl1.Panel2)).BeginInit(); - this.splitContainerControl1.SuspendLayout(); + this.simpleButton2 = new DevExpress.XtraEditors.SimpleButton(); + this.richTextBox1 = new System.Windows.Forms.RichTextBox(); + this.txtGs = new DevExpress.XtraEditors.TextEdit(); + this.labelControl1 = new DevExpress.XtraEditors.LabelControl(); + this.label1 = new System.Windows.Forms.Label(); + this.txt_slaveAddress = new DevExpress.XtraEditors.ComboBoxEdit(); + ((System.ComponentModel.ISupportInitialize)(this.txtGs.Properties)).BeginInit(); + ((System.ComponentModel.ISupportInitialize)(this.txt_slaveAddress.Properties)).BeginInit(); this.SuspendLayout(); // - // splitContainerControl1 + // simpleButton2 // - this.splitContainerControl1.Location = new System.Drawing.Point(192, 205); - this.splitContainerControl1.Name = "splitContainerControl1"; + this.simpleButton2.Location = new System.Drawing.Point(313, 34); + this.simpleButton2.Name = "simpleButton2"; + this.simpleButton2.Size = new System.Drawing.Size(201, 29); + this.simpleButton2.TabIndex = 1; + this.simpleButton2.Text = "纭畾璇诲彇姘存鎬绘暟鎹�"; + this.simpleButton2.Click += new System.EventHandler(this.simpleButton2_Click); // - // splitContainerControl1.Panel1 + // richTextBox1 // - this.splitContainerControl1.Panel1.Text = "Panel1"; + this.richTextBox1.Location = new System.Drawing.Point(57, 74); + this.richTextBox1.Name = "richTextBox1"; + this.richTextBox1.Size = new System.Drawing.Size(740, 377); + this.richTextBox1.TabIndex = 2; + this.richTextBox1.Text = ""; // - // splitContainerControl1.Panel2 + // txtGs // - this.splitContainerControl1.Panel2.Text = "Panel2"; - this.splitContainerControl1.Size = new System.Drawing.Size(200, 100); - this.splitContainerControl1.TabIndex = 0; + this.txtGs.Location = new System.Drawing.Point(153, 37); + this.txtGs.Name = "txtGs"; + this.txtGs.Size = new System.Drawing.Size(125, 24); + this.txtGs.TabIndex = 3; + // + // labelControl1 + // + this.labelControl1.Location = new System.Drawing.Point(57, 40); + this.labelControl1.Name = "labelControl1"; + this.labelControl1.Size = new System.Drawing.Size(90, 18); + this.labelControl1.TabIndex = 4; + this.labelControl1.Text = "瀵勫瓨鍣ㄤ釜鏁帮細"; + // + // label1 + // + this.label1.AutoSize = true; + this.label1.Location = new System.Drawing.Point(57, 13); + this.label1.Name = "label1"; + this.label1.Size = new System.Drawing.Size(68, 18); + this.label1.TabIndex = 5; + this.label1.Text = "姘存鍦板潃"; + // + // txt_slaveAddress + // + this.txt_slaveAddress.Location = new System.Drawing.Point(153, 5); + this.txt_slaveAddress.Name = "txt_slaveAddress"; + this.txt_slaveAddress.Properties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] { + new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)}); + this.txt_slaveAddress.Properties.Items.AddRange(new object[] { + "0", + "10", + "20", + "30", + "40", + "50", + "60", + "70", + "80", + "90", + "100", + "110"}); + this.txt_slaveAddress.Size = new System.Drawing.Size(125, 24); + this.txt_slaveAddress.TabIndex = 6; // // XtraForm1 // this.AutoScaleDimensions = new System.Drawing.SizeF(8F, 18F); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; this.ClientSize = new System.Drawing.Size(887, 659); - this.Controls.Add(this.splitContainerControl1); + this.Controls.Add(this.txt_slaveAddress); + this.Controls.Add(this.label1); + this.Controls.Add(this.labelControl1); + this.Controls.Add(this.txtGs); + this.Controls.Add(this.richTextBox1); + this.Controls.Add(this.simpleButton2); this.Name = "XtraForm1"; this.Text = "XtraForm1"; - ((System.ComponentModel.ISupportInitialize)(this.splitContainerControl1.Panel1)).EndInit(); - ((System.ComponentModel.ISupportInitialize)(this.splitContainerControl1.Panel2)).EndInit(); - ((System.ComponentModel.ISupportInitialize)(this.splitContainerControl1)).EndInit(); - this.splitContainerControl1.ResumeLayout(false); + ((System.ComponentModel.ISupportInitialize)(this.txtGs.Properties)).EndInit(); + ((System.ComponentModel.ISupportInitialize)(this.txt_slaveAddress.Properties)).EndInit(); this.ResumeLayout(false); + this.PerformLayout(); } #endregion - - private DevExpress.XtraEditors.SplitContainerControl splitContainerControl1; + private DevExpress.XtraEditors.SimpleButton simpleButton2; + private System.Windows.Forms.RichTextBox richTextBox1; + private DevExpress.XtraEditors.TextEdit txtGs; + private DevExpress.XtraEditors.LabelControl labelControl1; + private System.Windows.Forms.Label label1; + private DevExpress.XtraEditors.ComboBoxEdit txt_slaveAddress; } } \ No newline at end of file -- Gitblit v1.9.3