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 | 97 ++++++++++++++++++++++++++++++++++++++++++------ 1 files changed, 85 insertions(+), 12 deletions(-) diff --git a/DevApp/Gs.DevApp/XtraForm1.Designer.cs b/DevApp/Gs.DevApp/XtraForm1.Designer.cs index 9830c42..df355c2 100644 --- a/DevApp/Gs.DevApp/XtraForm1.Designer.cs +++ b/DevApp/Gs.DevApp/XtraForm1.Designer.cs @@ -28,32 +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.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 + // simpleButton2 // - this.simpleButton1.ImageOptions.Image = global::Gs.DevApp.Properties.Resources.stackedsplinearea_32x32; - this.simpleButton1.Location = new System.Drawing.Point(343, 110); - this.simpleButton1.Name = "simpleButton1"; - this.simpleButton1.Size = new System.Drawing.Size(94, 29); - this.simpleButton1.TabIndex = 0; - this.simpleButton1.Text = "simpleButton1"; + 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); + // + // richTextBox1 + // + 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 = ""; + // + // txtGs + // + 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(767, 418); - this.Controls.Add(this.simpleButton1); + this.ClientSize = new System.Drawing.Size(887, 659); + 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.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.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