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 |  113 +++++++++++++++++++++++++++++++-------------------------
 1 files changed, 62 insertions(+), 51 deletions(-)

diff --git a/DevApp/Gs.DevApp/XtraForm1.Designer.cs b/DevApp/Gs.DevApp/XtraForm1.Designer.cs
index 4849e5e..df355c2 100644
--- a/DevApp/Gs.DevApp/XtraForm1.Designer.cs
+++ b/DevApp/Gs.DevApp/XtraForm1.Designer.cs
@@ -28,94 +28,105 @@
         /// </summary>
         private void InitializeComponent()
         {
-            this.simpleButton1 = new DevExpress.XtraEditors.SimpleButton();
             this.simpleButton2 = new DevExpress.XtraEditors.SimpleButton();
             this.richTextBox1 = new System.Windows.Forms.RichTextBox();
-            this.simpleButton3 = new DevExpress.XtraEditors.SimpleButton();
-            this.buttonEdit1 = new DevExpress.XtraEditors.ButtonEdit();
-            this.toggleSwitch1 = new DevExpress.XtraEditors.ToggleSwitch();
-            ((System.ComponentModel.ISupportInitialize)(this.buttonEdit1.Properties)).BeginInit();
-            ((System.ComponentModel.ISupportInitialize)(this.toggleSwitch1.Properties)).BeginInit();
+            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();
-            // 
-            // simpleButton1
-            // 
-            this.simpleButton1.Location = new System.Drawing.Point(57, 107);
-            this.simpleButton1.Name = "simpleButton1";
-            this.simpleButton1.Size = new System.Drawing.Size(94, 29);
-            this.simpleButton1.TabIndex = 0;
-            this.simpleButton1.Text = "鐢垫鏁版嵁";
-         
             // 
             // simpleButton2
             // 
-            this.simpleButton2.Location = new System.Drawing.Point(57, 173);
+            this.simpleButton2.Location = new System.Drawing.Point(313, 34);
             this.simpleButton2.Name = "simpleButton2";
-            this.simpleButton2.Size = new System.Drawing.Size(94, 29);
+            this.simpleButton2.Size = new System.Drawing.Size(201, 29);
             this.simpleButton2.TabIndex = 1;
-            this.simpleButton2.Text = "姘存鏁版嵁";
+            this.simpleButton2.Text = "纭畾璇诲彇姘存鎬绘暟鎹�";
             this.simpleButton2.Click += new System.EventHandler(this.simpleButton2_Click);
             // 
             // richTextBox1
             // 
-            this.richTextBox1.Location = new System.Drawing.Point(57, 227);
+            this.richTextBox1.Location = new System.Drawing.Point(57, 74);
             this.richTextBox1.Name = "richTextBox1";
-            this.richTextBox1.Size = new System.Drawing.Size(740, 240);
+            this.richTextBox1.Size = new System.Drawing.Size(740, 377);
             this.richTextBox1.TabIndex = 2;
             this.richTextBox1.Text = "";
             // 
-            // simpleButton3
+            // txtGs
             // 
-            this.simpleButton3.Location = new System.Drawing.Point(471, 85);
-            this.simpleButton3.Name = "simpleButton3";
-            this.simpleButton3.Size = new System.Drawing.Size(94, 29);
-            this.simpleButton3.TabIndex = 3;
-            this.simpleButton3.Text = "simpleButton3";
+            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;
             // 
-            // buttonEdit1
+            // labelControl1
             // 
-            this.buttonEdit1.Location = new System.Drawing.Point(312, 147);
-            this.buttonEdit1.Name = "buttonEdit1";
-            this.buttonEdit1.Properties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
-            new DevExpress.XtraEditors.Controls.EditorButton()});
-            this.buttonEdit1.Size = new System.Drawing.Size(125, 24);
-            this.buttonEdit1.TabIndex = 4;
+            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 = "瀵勫瓨鍣ㄤ釜鏁帮細";
             // 
-            // toggleSwitch1
+            // label1
             // 
-            this.toggleSwitch1.Location = new System.Drawing.Point(293, 13);
-            this.toggleSwitch1.Name = "toggleSwitch1";
-            this.toggleSwitch1.Properties.OffText = "Off";
-            this.toggleSwitch1.Properties.OnText = "On";
-            this.toggleSwitch1.Size = new System.Drawing.Size(288, 24);
-            this.toggleSwitch1.TabIndex = 5;
+            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.toggleSwitch1);
-            this.Controls.Add(this.buttonEdit1);
-            this.Controls.Add(this.simpleButton3);
+            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.Controls.Add(this.simpleButton1);
             this.Name = "XtraForm1";
             this.Text = "XtraForm1";
-            ((System.ComponentModel.ISupportInitialize)(this.buttonEdit1.Properties)).EndInit();
-            ((System.ComponentModel.ISupportInitialize)(this.toggleSwitch1.Properties)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.txtGs.Properties)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.txt_slaveAddress.Properties)).EndInit();
             this.ResumeLayout(false);
+            this.PerformLayout();
 
         }
 
         #endregion
-
-        private DevExpress.XtraEditors.SimpleButton simpleButton1;
         private DevExpress.XtraEditors.SimpleButton simpleButton2;
         private System.Windows.Forms.RichTextBox richTextBox1;
-        private DevExpress.XtraEditors.SimpleButton simpleButton3;
-        private DevExpress.XtraEditors.ButtonEdit buttonEdit1;
-        private DevExpress.XtraEditors.ToggleSwitch toggleSwitch1;
+        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