From 9be4d71b3ea98831dc4bfd8896a025ab103b7c3c Mon Sep 17 00:00:00 2001 From: lu <123456> Date: 星期五, 25 七月 2025 08:15:13 +0800 Subject: [PATCH] 1 --- DevApp/Gs.DevApp/XtraForm1.Designer.cs | 210 ++++++++++++++++++++++++++++++--------------------- 1 files changed, 123 insertions(+), 87 deletions(-) diff --git a/DevApp/Gs.DevApp/XtraForm1.Designer.cs b/DevApp/Gs.DevApp/XtraForm1.Designer.cs index a8e7467..83becef 100644 --- a/DevApp/Gs.DevApp/XtraForm1.Designer.cs +++ b/DevApp/Gs.DevApp/XtraForm1.Designer.cs @@ -28,120 +28,156 @@ /// </summary> private void InitializeComponent() { - this.tlMenu = new DevExpress.XtraTreeList.TreeList(); - this.tlcModuleID = new DevExpress.XtraTreeList.Columns.TreeListColumn(); - this.tlcMenuName = new DevExpress.XtraTreeList.Columns.TreeListColumn(); - this.tlcMenuCaption = new DevExpress.XtraTreeList.Columns.TreeListColumn(); - this.tlcActions = new DevExpress.XtraTreeList.Columns.TreeListColumn(); - this.tlcParentMenuName = new DevExpress.XtraTreeList.Columns.TreeListColumn(); - this.tlcMenuType = new DevExpress.XtraTreeList.Columns.TreeListColumn(); - ((System.ComponentModel.ISupportInitialize)(this.tlMenu)).BeginInit(); + 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.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(); // - // tlMenu + // simpleButton2 // - this.tlMenu.Appearance.Row.Options.UseFont = true; - this.tlMenu.Columns.AddRange(new DevExpress.XtraTreeList.Columns.TreeListColumn[] { - this.tlcModuleID, - this.tlcMenuName, - this.tlcMenuCaption, - this.tlcActions, - this.tlcParentMenuName, - this.tlcMenuType}); - this.tlMenu.Cursor = System.Windows.Forms.Cursors.Default; - this.tlMenu.Dock = System.Windows.Forms.DockStyle.Fill; - this.tlMenu.Location = new System.Drawing.Point(0, 0); - this.tlMenu.Margin = new System.Windows.Forms.Padding(3, 4, 3, 4); - this.tlMenu.MinWidth = 23; - this.tlMenu.Name = "tlMenu"; - this.tlMenu.OptionsView.CheckBoxStyle = DevExpress.XtraTreeList.DefaultNodeCheckBoxStyle.Check; - this.tlMenu.OptionsView.RootCheckBoxStyle = DevExpress.XtraTreeList.NodeCheckBoxStyle.None; - this.tlMenu.OptionsView.TreeLineStyle = DevExpress.XtraTreeList.LineStyle.Solid; - this.tlMenu.Size = new System.Drawing.Size(887, 659); - this.tlMenu.TabIndex = 4; - this.tlMenu.TreeLevelWidth = 21; + 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); // - // tlcModuleID + // richTextBox1 // - this.tlcModuleID.Caption = "guid"; - this.tlcModuleID.FieldName = "guid"; - this.tlcModuleID.MinWidth = 23; - this.tlcModuleID.Name = "tlcModuleID"; - this.tlcModuleID.Visible = true; - this.tlcModuleID.VisibleIndex = 0; - this.tlcModuleID.Width = 103; + 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 = ""; // - // tlcMenuName + // txtGs // - this.tlcMenuName.Caption = "鑿滃崟鍚嶇О"; - this.tlcMenuName.FieldName = "name"; - this.tlcMenuName.MinWidth = 38; - this.tlcMenuName.Name = "tlcMenuName"; - this.tlcMenuName.Visible = true; - this.tlcMenuName.VisibleIndex = 1; - this.tlcMenuName.Width = 215; + 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; // - // tlcMenuCaption + // labelControl1 // - this.tlcMenuCaption.Caption = "鑿滃崟璺緞"; - this.tlcMenuCaption.FieldName = "formPath"; - this.tlcMenuCaption.MinWidth = 23; - this.tlcMenuCaption.Name = "tlcMenuCaption"; - this.tlcMenuCaption.Visible = true; - this.tlcMenuCaption.VisibleIndex = 2; - this.tlcMenuCaption.Width = 139; + 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 = "姣忔璇诲彇鐨勭偣鍙锋暟閲�"; // - // tlcActions + // label1 // - this.tlcActions.Caption = "鑿滃崟绫诲瀷"; - this.tlcActions.FieldName = "category"; - this.tlcActions.MinWidth = 23; - this.tlcActions.Name = "tlcActions"; - this.tlcActions.Visible = true; - this.tlcActions.VisibleIndex = 3; - this.tlcActions.Width = 50; + 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 浠庢満鍦板潃"; // - // tlcParentMenuName + // txt_slaveAddress // - this.tlcParentMenuName.Caption = "鐘舵��"; - this.tlcParentMenuName.FieldName = "isStatus"; - this.tlcParentMenuName.MinWidth = 23; - this.tlcParentMenuName.Name = "tlcParentMenuName"; - this.tlcParentMenuName.Visible = true; - this.tlcParentMenuName.VisibleIndex = 4; - this.tlcParentMenuName.Width = 64; + 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; // - // tlcMenuType + // panelControl1 // - this.tlcMenuType.Caption = "鎺掑簭鍙�"; - this.tlcMenuType.FieldName = "idx"; - this.tlcMenuType.MinWidth = 23; - this.tlcMenuType.Name = "tlcMenuType"; - this.tlcMenuType.Visible = true; - this.tlcMenuType.VisibleIndex = 5; - this.tlcMenuType.Width = 50; + 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.tlMenu); + this.Controls.Add(this.richTextBox1); + this.Controls.Add(this.panelControl1); this.Name = "XtraForm1"; this.Text = "XtraForm1"; - ((System.ComponentModel.ISupportInitialize)(this.tlMenu)).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(); this.ResumeLayout(false); } #endregion - - private DevExpress.XtraTreeList.TreeList tlMenu; - private DevExpress.XtraTreeList.Columns.TreeListColumn tlcModuleID; - private DevExpress.XtraTreeList.Columns.TreeListColumn tlcMenuName; - private DevExpress.XtraTreeList.Columns.TreeListColumn tlcMenuCaption; - private DevExpress.XtraTreeList.Columns.TreeListColumn tlcActions; - private DevExpress.XtraTreeList.Columns.TreeListColumn tlcParentMenuName; - private DevExpress.XtraTreeList.Columns.TreeListColumn tlcMenuType; + 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; } } \ No newline at end of file -- Gitblit v1.9.3