From 2a8101df33b73bb41192f0a9ec60d2e4df3c65ff Mon Sep 17 00:00:00 2001 From: lu <123456> Date: 星期四, 24 七月 2025 14:21:13 +0800 Subject: [PATCH] 水检调试正常 --- DevApp/Gs.DevApp/XtraForm1.Designer.cs | 85 ++++++++++++++++++++++++++++++++++-------- 1 files changed, 68 insertions(+), 17 deletions(-) diff --git a/DevApp/Gs.DevApp/XtraForm1.Designer.cs b/DevApp/Gs.DevApp/XtraForm1.Designer.cs index df355c2..83becef 100644 --- a/DevApp/Gs.DevApp/XtraForm1.Designer.cs +++ b/DevApp/Gs.DevApp/XtraForm1.Designer.cs @@ -34,13 +34,20 @@ this.labelControl1 = new DevExpress.XtraEditors.LabelControl(); this.label1 = new System.Windows.Forms.Label(); this.txt_slaveAddress = new DevExpress.XtraEditors.ComboBoxEdit(); + this.panelControl1 = new DevExpress.XtraEditors.PanelControl(); + this.txtGWM = new DevExpress.XtraEditors.TextEdit(); + this.labelControl2 = new DevExpress.XtraEditors.LabelControl(); + this.simpleButton1 = new DevExpress.XtraEditors.SimpleButton(); ((System.ComponentModel.ISupportInitialize)(this.txtGs.Properties)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.txt_slaveAddress.Properties)).BeginInit(); + ((System.ComponentModel.ISupportInitialize)(this.panelControl1)).BeginInit(); + this.panelControl1.SuspendLayout(); + ((System.ComponentModel.ISupportInitialize)(this.txtGWM.Properties)).BeginInit(); this.SuspendLayout(); // // simpleButton2 // - this.simpleButton2.Location = new System.Drawing.Point(313, 34); + this.simpleButton2.Location = new System.Drawing.Point(447, 29); this.simpleButton2.Name = "simpleButton2"; this.simpleButton2.Size = new System.Drawing.Size(201, 29); this.simpleButton2.TabIndex = 1; @@ -49,39 +56,40 @@ // // richTextBox1 // - this.richTextBox1.Location = new System.Drawing.Point(57, 74); + this.richTextBox1.Dock = System.Windows.Forms.DockStyle.Fill; + this.richTextBox1.Location = new System.Drawing.Point(0, 120); this.richTextBox1.Name = "richTextBox1"; - this.richTextBox1.Size = new System.Drawing.Size(740, 377); + this.richTextBox1.Size = new System.Drawing.Size(887, 539); this.richTextBox1.TabIndex = 2; this.richTextBox1.Text = ""; // // txtGs // - this.txtGs.Location = new System.Drawing.Point(153, 37); + this.txtGs.Location = new System.Drawing.Point(250, 44); 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.Location = new System.Drawing.Point(9, 40); this.labelControl1.Name = "labelControl1"; - this.labelControl1.Size = new System.Drawing.Size(90, 18); + this.labelControl1.Size = new System.Drawing.Size(135, 18); this.labelControl1.TabIndex = 4; - this.labelControl1.Text = "瀵勫瓨鍣ㄤ釜鏁帮細"; + this.labelControl1.Text = "姣忔璇诲彇鐨勭偣鍙锋暟閲�"; // // label1 // this.label1.AutoSize = true; - this.label1.Location = new System.Drawing.Point(57, 13); + this.label1.Location = new System.Drawing.Point(9, 13); this.label1.Name = "label1"; - this.label1.Size = new System.Drawing.Size(68, 18); + this.label1.Size = new System.Drawing.Size(218, 18); this.label1.TabIndex = 5; - this.label1.Text = "姘存鍦板潃"; + this.label1.Text = "姘存鍦板潃slaveAddress 浠庢満鍦板潃"; // // txt_slaveAddress // - this.txt_slaveAddress.Location = new System.Drawing.Point(153, 5); + this.txt_slaveAddress.Location = new System.Drawing.Point(250, 7); 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)}); @@ -101,23 +109,62 @@ this.txt_slaveAddress.Size = new System.Drawing.Size(125, 24); this.txt_slaveAddress.TabIndex = 6; // + // panelControl1 + // + this.panelControl1.Controls.Add(this.simpleButton1); + this.panelControl1.Controls.Add(this.labelControl2); + this.panelControl1.Controls.Add(this.txtGWM); + this.panelControl1.Controls.Add(this.txtGs); + this.panelControl1.Controls.Add(this.txt_slaveAddress); + this.panelControl1.Controls.Add(this.simpleButton2); + this.panelControl1.Controls.Add(this.label1); + this.panelControl1.Controls.Add(this.labelControl1); + this.panelControl1.Dock = System.Windows.Forms.DockStyle.Top; + this.panelControl1.Location = new System.Drawing.Point(0, 0); + this.panelControl1.Name = "panelControl1"; + this.panelControl1.Size = new System.Drawing.Size(887, 120); + this.panelControl1.TabIndex = 7; + // + // txtGWM + // + this.txtGWM.Location = new System.Drawing.Point(250, 81); + this.txtGWM.Name = "txtGWM"; + this.txtGWM.Size = new System.Drawing.Size(183, 24); + this.txtGWM.TabIndex = 7; + // + // labelControl2 + // + this.labelControl2.Location = new System.Drawing.Point(30, 82); + this.labelControl2.Name = "labelControl2"; + this.labelControl2.Size = new System.Drawing.Size(45, 18); + this.labelControl2.TabIndex = 8; + this.labelControl2.Text = "宸ヤ綅鐮�"; + // + // simpleButton1 + // + this.simpleButton1.Location = new System.Drawing.Point(523, 84); + this.simpleButton1.Name = "simpleButton1"; + this.simpleButton1.Size = new System.Drawing.Size(94, 29); + this.simpleButton1.TabIndex = 9; + this.simpleButton1.Text = "纭畾璇诲彇"; + this.simpleButton1.Click += new System.EventHandler(this.simpleButton1_Click); + // // 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.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.panelControl1); this.Name = "XtraForm1"; this.Text = "XtraForm1"; ((System.ComponentModel.ISupportInitialize)(this.txtGs.Properties)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.txt_slaveAddress.Properties)).EndInit(); + ((System.ComponentModel.ISupportInitialize)(this.panelControl1)).EndInit(); + this.panelControl1.ResumeLayout(false); + this.panelControl1.PerformLayout(); + ((System.ComponentModel.ISupportInitialize)(this.txtGWM.Properties)).EndInit(); this.ResumeLayout(false); - this.PerformLayout(); } @@ -128,5 +175,9 @@ private DevExpress.XtraEditors.LabelControl labelControl1; private System.Windows.Forms.Label label1; private DevExpress.XtraEditors.ComboBoxEdit txt_slaveAddress; + private DevExpress.XtraEditors.PanelControl panelControl1; + private DevExpress.XtraEditors.LabelControl labelControl2; + private DevExpress.XtraEditors.TextEdit txtGWM; + private DevExpress.XtraEditors.SimpleButton simpleButton1; } } \ No newline at end of file -- Gitblit v1.9.3