From 7ed8adc0a4df13b9a2272f8d0f1c875dd06e8617 Mon Sep 17 00:00:00 2001
From: lu <123456>
Date: 星期四, 31 七月 2025 17:40:26 +0800
Subject: [PATCH] bug
---
DevApp/Gs.DevApp/XtraForm1.Designer.cs | 245 ++++++++++++++++++++++++++----------------------
1 files changed, 131 insertions(+), 114 deletions(-)
diff --git a/DevApp/Gs.DevApp/XtraForm1.Designer.cs b/DevApp/Gs.DevApp/XtraForm1.Designer.cs
index b7e1014..5fee02e 100644
--- a/DevApp/Gs.DevApp/XtraForm1.Designer.cs
+++ b/DevApp/Gs.DevApp/XtraForm1.Designer.cs
@@ -28,154 +28,171 @@
/// </summary>
private void InitializeComponent()
{
- this.components = new System.ComponentModel.Container();
- this.dropDownButton1 = new DevExpress.XtraEditors.DropDownButton();
- this.popupMenu1 = new DevExpress.XtraBars.PopupMenu(this.components);
- this.barButtonItem1 = new DevExpress.XtraBars.BarButtonItem();
- this.barButtonItem2 = new DevExpress.XtraBars.BarButtonItem();
- this.barButtonItem3 = new DevExpress.XtraBars.BarButtonItem();
- this.barButtonItem4 = new DevExpress.XtraBars.BarButtonItem();
- this.barManager1 = new DevExpress.XtraBars.BarManager(this.components);
- this.barDockControlTop = new DevExpress.XtraBars.BarDockControl();
- this.barDockControlBottom = new DevExpress.XtraBars.BarDockControl();
- this.barDockControlLeft = new DevExpress.XtraBars.BarDockControl();
- this.barDockControlRight = new DevExpress.XtraBars.BarDockControl();
+ 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();
+ this.panelControl1 = new DevExpress.XtraEditors.PanelControl();
this.simpleButton1 = new DevExpress.XtraEditors.SimpleButton();
- ((System.ComponentModel.ISupportInitialize)(this.popupMenu1)).BeginInit();
- ((System.ComponentModel.ISupportInitialize)(this.barManager1)).BeginInit();
+ this.labelControl2 = new DevExpress.XtraEditors.LabelControl();
+ this.txtGWM = new DevExpress.XtraEditors.TextEdit();
+ this.btnEdit = new DevExpress.XtraEditors.ButtonEdit();
+ ((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();
+ ((System.ComponentModel.ISupportInitialize)(this.btnEdit.Properties)).BeginInit();
this.SuspendLayout();
//
- // dropDownButton1
+ // simpleButton2
//
- this.dropDownButton1.DropDownControl = this.popupMenu1;
- this.dropDownButton1.Location = new System.Drawing.Point(238, 110);
- this.dropDownButton1.Name = "dropDownButton1";
- this.dropDownButton1.Size = new System.Drawing.Size(154, 29);
- this.dropDownButton1.TabIndex = 0;
- this.dropDownButton1.Text = "dropDownButton1";
+ 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;
+ this.simpleButton2.Text = "纭畾璇诲彇姘存鎬绘暟鎹�";
+ this.simpleButton2.Click += new System.EventHandler(this.simpleButton2_Click);
//
- // popupMenu1
+ // richTextBox1
//
- this.popupMenu1.LinksPersistInfo.AddRange(new DevExpress.XtraBars.LinkPersistInfo[] {
- new DevExpress.XtraBars.LinkPersistInfo(this.barButtonItem1),
- new DevExpress.XtraBars.LinkPersistInfo(this.barButtonItem2),
- new DevExpress.XtraBars.LinkPersistInfo(this.barButtonItem3),
- new DevExpress.XtraBars.LinkPersistInfo(this.barButtonItem4)});
- this.popupMenu1.Manager = this.barManager1;
- this.popupMenu1.Name = "popupMenu1";
+ 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(887, 539);
+ this.richTextBox1.TabIndex = 2;
+ this.richTextBox1.Text = "";
//
- // barButtonItem1
+ // txtGs
//
- this.barButtonItem1.Caption = "barButtonItem1";
- this.barButtonItem1.Id = 0;
- this.barButtonItem1.Name = "barButtonItem1";
+ 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;
//
- // barButtonItem2
+ // labelControl1
//
- this.barButtonItem2.Caption = "barButtonItem2";
- this.barButtonItem2.Id = 1;
- this.barButtonItem2.Name = "barButtonItem2";
+ this.labelControl1.Location = new System.Drawing.Point(9, 40);
+ this.labelControl1.Name = "labelControl1";
+ this.labelControl1.Size = new System.Drawing.Size(135, 18);
+ this.labelControl1.TabIndex = 4;
+ this.labelControl1.Text = "姣忔璇诲彇鐨勭偣鍙锋暟閲�";
//
- // barButtonItem3
+ // label1
//
- this.barButtonItem3.Caption = "barButtonItem3";
- this.barButtonItem3.Id = 2;
- this.barButtonItem3.Name = "barButtonItem3";
+ this.label1.AutoSize = true;
+ this.label1.Location = new System.Drawing.Point(9, 13);
+ this.label1.Name = "label1";
+ this.label1.Size = new System.Drawing.Size(218, 18);
+ this.label1.TabIndex = 5;
+ this.label1.Text = "姘存鍦板潃slaveAddress 浠庢満鍦板潃";
//
- // barButtonItem4
+ // txt_slaveAddress
//
- this.barButtonItem4.Caption = "barButtonItem4";
- this.barButtonItem4.Id = 3;
- this.barButtonItem4.Name = "barButtonItem4";
+ 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)});
+ 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;
//
- // barManager1
+ // panelControl1
//
- this.barManager1.DockControls.Add(this.barDockControlTop);
- this.barManager1.DockControls.Add(this.barDockControlBottom);
- this.barManager1.DockControls.Add(this.barDockControlLeft);
- this.barManager1.DockControls.Add(this.barDockControlRight);
- this.barManager1.Form = this;
- this.barManager1.Items.AddRange(new DevExpress.XtraBars.BarItem[] {
- this.barButtonItem1,
- this.barButtonItem2,
- this.barButtonItem3,
- this.barButtonItem4});
- this.barManager1.MaxItemId = 4;
- //
- // barDockControlTop
- //
- this.barDockControlTop.CausesValidation = false;
- this.barDockControlTop.Dock = System.Windows.Forms.DockStyle.Top;
- this.barDockControlTop.Location = new System.Drawing.Point(0, 0);
- this.barDockControlTop.Manager = this.barManager1;
- this.barDockControlTop.Size = new System.Drawing.Size(887, 0);
- //
- // barDockControlBottom
- //
- this.barDockControlBottom.CausesValidation = false;
- this.barDockControlBottom.Dock = System.Windows.Forms.DockStyle.Bottom;
- this.barDockControlBottom.Location = new System.Drawing.Point(0, 659);
- this.barDockControlBottom.Manager = this.barManager1;
- this.barDockControlBottom.Size = new System.Drawing.Size(887, 0);
- //
- // barDockControlLeft
- //
- this.barDockControlLeft.CausesValidation = false;
- this.barDockControlLeft.Dock = System.Windows.Forms.DockStyle.Left;
- this.barDockControlLeft.Location = new System.Drawing.Point(0, 0);
- this.barDockControlLeft.Manager = this.barManager1;
- this.barDockControlLeft.Size = new System.Drawing.Size(0, 659);
- //
- // barDockControlRight
- //
- this.barDockControlRight.CausesValidation = false;
- this.barDockControlRight.Dock = System.Windows.Forms.DockStyle.Right;
- this.barDockControlRight.Location = new System.Drawing.Point(887, 0);
- this.barDockControlRight.Manager = this.barManager1;
- this.barDockControlRight.Size = new System.Drawing.Size(0, 659);
+ this.panelControl1.Controls.Add(this.btnEdit);
+ 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;
//
// simpleButton1
//
- this.simpleButton1.ImageOptions.Image = global::Gs.DevApp.Properties.Resources.fullstackedbar3d_16x16;
- this.simpleButton1.Location = new System.Drawing.Point(225, 257);
+ 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 = 5;
- this.simpleButton1.Text = "simpleButton1";
+ this.simpleButton1.TabIndex = 9;
+ this.simpleButton1.Text = "纭畾璇诲彇";
+ this.simpleButton1.Click += new System.EventHandler(this.simpleButton1_Click);
+ //
+ // 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 = "宸ヤ綅鐮�";
+ //
+ // 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;
+ //
+ // btnEdit
+ //
+ this.btnEdit.Location = new System.Drawing.Point(683, 82);
+ this.btnEdit.Name = "btnEdit";
+ this.btnEdit.Properties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
+ new DevExpress.XtraEditors.Controls.EditorButton()});
+ this.btnEdit.Size = new System.Drawing.Size(125, 24);
+ this.btnEdit.TabIndex = 10;
+ this.btnEdit.ButtonClick += new DevExpress.XtraEditors.Controls.ButtonPressedEventHandler(this.btnEdit_ButtonClick);
//
// 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.simpleButton1);
- this.Controls.Add(this.dropDownButton1);
- this.Controls.Add(this.barDockControlLeft);
- this.Controls.Add(this.barDockControlRight);
- this.Controls.Add(this.barDockControlBottom);
- this.Controls.Add(this.barDockControlTop);
+ this.Controls.Add(this.richTextBox1);
+ this.Controls.Add(this.panelControl1);
this.Name = "XtraForm1";
this.Text = "XtraForm1";
- ((System.ComponentModel.ISupportInitialize)(this.popupMenu1)).EndInit();
- ((System.ComponentModel.ISupportInitialize)(this.barManager1)).EndInit();
+ ((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();
+ ((System.ComponentModel.ISupportInitialize)(this.btnEdit.Properties)).EndInit();
this.ResumeLayout(false);
- this.PerformLayout();
}
#endregion
-
- private DevExpress.XtraEditors.DropDownButton dropDownButton1;
- private DevExpress.XtraBars.PopupMenu popupMenu1;
- private DevExpress.XtraBars.BarButtonItem barButtonItem1;
- private DevExpress.XtraBars.BarButtonItem barButtonItem2;
- private DevExpress.XtraBars.BarButtonItem barButtonItem3;
- private DevExpress.XtraBars.BarButtonItem barButtonItem4;
- private DevExpress.XtraBars.BarManager barManager1;
- private DevExpress.XtraBars.BarDockControl barDockControlTop;
- private DevExpress.XtraBars.BarDockControl barDockControlBottom;
- private DevExpress.XtraBars.BarDockControl barDockControlLeft;
- private DevExpress.XtraBars.BarDockControl barDockControlRight;
+ 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;
+ private DevExpress.XtraEditors.PanelControl panelControl1;
+ private DevExpress.XtraEditors.LabelControl labelControl2;
+ private DevExpress.XtraEditors.TextEdit txtGWM;
private DevExpress.XtraEditors.SimpleButton simpleButton1;
+ private DevExpress.XtraEditors.ButtonEdit btnEdit;
}
}
\ No newline at end of file
--
Gitblit v1.9.3