From d4e0269da1cc87d42918cdda6afaa005b6c47a0e Mon Sep 17 00:00:00 2001
From: lg <123456>
Date: 星期三, 19 十一月 2025 13:40:46 +0800
Subject: [PATCH] 按大类维护
---
DevApp/Gs.DevApp/XtraForm1.Designer.cs | 306 +++++++++++++++++++++++++++++++++------------------
1 files changed, 198 insertions(+), 108 deletions(-)
diff --git a/DevApp/Gs.DevApp/XtraForm1.Designer.cs b/DevApp/Gs.DevApp/XtraForm1.Designer.cs
index b7e1014..bbd3627 100644
--- a/DevApp/Gs.DevApp/XtraForm1.Designer.cs
+++ b/DevApp/Gs.DevApp/XtraForm1.Designer.cs
@@ -28,154 +28,244 @@
/// </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.simpleButton3 = new DevExpress.XtraEditors.SimpleButton();
+ this.button1 = new System.Windows.Forms.Button();
+ this.btnEdit = new DevExpress.XtraEditors.ButtonEdit();
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.simpleButton4 = new DevExpress.XtraEditors.SimpleButton();
+ this.simpleButton5 = new DevExpress.XtraEditors.SimpleButton();
+ this.simpleButton6 = new DevExpress.XtraEditors.SimpleButton();
+ this.simpleButton7 = 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.btnEdit.Properties)).BeginInit();
+ ((System.ComponentModel.ISupportInitialize)(this.txtGWM.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(396, 49);
+ 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, 365);
+ this.richTextBox1.Name = "richTextBox1";
+ this.richTextBox1.Size = new System.Drawing.Size(887, 294);
+ 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;
+ this.panelControl1.Controls.Add(this.simpleButton7);
+ this.panelControl1.Controls.Add(this.simpleButton6);
+ this.panelControl1.Controls.Add(this.simpleButton5);
+ this.panelControl1.Controls.Add(this.simpleButton4);
+ this.panelControl1.Controls.Add(this.simpleButton3);
+ this.panelControl1.Controls.Add(this.button1);
+ 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, 365);
+ this.panelControl1.TabIndex = 7;
//
- // barDockControlTop
+ // simpleButton3
//
- 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);
+ this.simpleButton3.Location = new System.Drawing.Point(475, 6);
+ this.simpleButton3.Name = "simpleButton3";
+ this.simpleButton3.Size = new System.Drawing.Size(94, 29);
+ this.simpleButton3.TabIndex = 12;
+ this.simpleButton3.Text = "simpleButton3";
+ this.simpleButton3.Click += new System.EventHandler(this.simpleButton3_Click);
//
- // barDockControlBottom
+ // button1
//
- 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);
+ this.button1.Location = new System.Drawing.Point(699, 29);
+ this.button1.Name = "button1";
+ this.button1.Size = new System.Drawing.Size(75, 23);
+ this.button1.TabIndex = 11;
+ this.button1.Text = "button1";
+ this.button1.UseVisualStyleBackColor = true;
+ this.button1.Click += new System.EventHandler(this.button1_Click);
//
- // barDockControlLeft
+ // btnEdit
//
- 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.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);
//
// 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(134, 18);
+ this.labelControl2.TabIndex = 8;
+ this.labelControl2.Text = "宸ヤ綅鐮丏1008-D1118";
+ //
+ // 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;
+ //
+ // simpleButton4
+ //
+ this.simpleButton4.Location = new System.Drawing.Point(57, 179);
+ this.simpleButton4.Name = "simpleButton4";
+ this.simpleButton4.Size = new System.Drawing.Size(202, 29);
+ this.simpleButton4.TabIndex = 13;
+ this.simpleButton4.Text = "涓嶈壇鍘熷洜涓嶈兘涓虹┖锛�";
+ this.simpleButton4.Click += new System.EventHandler(this.simpleButton4_Click);
+ //
+ // simpleButton5
+ //
+ this.simpleButton5.Location = new System.Drawing.Point(57, 227);
+ this.simpleButton5.Name = "simpleButton5";
+ this.simpleButton5.Size = new System.Drawing.Size(202, 29);
+ this.simpleButton5.TabIndex = 14;
+ this.simpleButton5.Text = "鎿嶄綔澶辫触@n璇峰厛鎵弿宸ヤ綅鐮�";
+ this.simpleButton5.Click += new System.EventHandler(this.simpleButton5_Click);
+ //
+ // simpleButton6
+ //
+ this.simpleButton6.Location = new System.Drawing.Point(57, 283);
+ this.simpleButton6.Name = "simpleButton6";
+ this.simpleButton6.Size = new System.Drawing.Size(337, 29);
+ this.simpleButton6.TabIndex = 15;
+ this.simpleButton6.Text = "璇烽噸鏂版搷浣淍n宸插府浣犲垏鎹㈠埌銆愯壇鍝佹槑缁嗐��";
+ this.simpleButton6.Click += new System.EventHandler(this.simpleButton6_Click);
+ //
+ // simpleButton7
+ //
+ this.simpleButton7.Location = new System.Drawing.Point(57, 318);
+ this.simpleButton7.Name = "simpleButton7";
+ this.simpleButton7.Size = new System.Drawing.Size(337, 29);
+ this.simpleButton7.TabIndex = 16;
+ this.simpleButton7.Text = "鎿嶄綔澶辫触@n璇峰厛閫夋嫨杩芥函鐮�";
+ this.simpleButton7.Click += new System.EventHandler(this.simpleButton7_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.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.btnEdit.Properties)).EndInit();
+ ((System.ComponentModel.ISupportInitialize)(this.txtGWM.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;
+ private System.Windows.Forms.Button button1;
+ private DevExpress.XtraEditors.SimpleButton simpleButton3;
+ private DevExpress.XtraEditors.SimpleButton simpleButton4;
+ private DevExpress.XtraEditors.SimpleButton simpleButton5;
+ private DevExpress.XtraEditors.SimpleButton simpleButton6;
+ private DevExpress.XtraEditors.SimpleButton simpleButton7;
}
}
\ No newline at end of file
--
Gitblit v1.9.3