From c42e01627d34dc2ff3d18cc47b2018de3dbef36d Mon Sep 17 00:00:00 2001 From: cdk <2441919651@qq.com> Date: 星期五, 25 七月 2025 15:15:34 +0800 Subject: [PATCH] 计件工资样式调整 --- DevApp/Gs.DevApp/XtraForm1.Designer.cs | 166 ++++++++++++++++++++++++++++++++++++++----------------- 1 files changed, 114 insertions(+), 52 deletions(-) diff --git a/DevApp/Gs.DevApp/XtraForm1.Designer.cs b/DevApp/Gs.DevApp/XtraForm1.Designer.cs index 3602d04..83becef 100644 --- a/DevApp/Gs.DevApp/XtraForm1.Designer.cs +++ b/DevApp/Gs.DevApp/XtraForm1.Designer.cs @@ -28,94 +28,156 @@ /// </summary> private void InitializeComponent() { - this.simpleButton1 = new DevExpress.XtraEditors.SimpleButton(); this.simpleButton2 = new DevExpress.XtraEditors.SimpleButton(); this.richTextBox1 = new System.Windows.Forms.RichTextBox(); - this.simpleButton3 = new DevExpress.XtraEditors.SimpleButton(); - this.buttonEdit1 = new DevExpress.XtraEditors.ButtonEdit(); - this.toggleSwitch1 = new DevExpress.XtraEditors.ToggleSwitch(); - ((System.ComponentModel.ISupportInitialize)(this.buttonEdit1.Properties)).BeginInit(); - ((System.ComponentModel.ISupportInitialize)(this.toggleSwitch1.Properties)).BeginInit(); + 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(); - // - // simpleButton1 - // - this.simpleButton1.Location = new System.Drawing.Point(57, 107); - this.simpleButton1.Name = "simpleButton1"; - this.simpleButton1.Size = new System.Drawing.Size(94, 29); - this.simpleButton1.TabIndex = 0; - this.simpleButton1.Text = "鐢垫鏁版嵁"; - this.simpleButton1.Click += new System.EventHandler(this.simpleButton1_Click_1); // // simpleButton2 // - this.simpleButton2.Location = new System.Drawing.Point(57, 173); + this.simpleButton2.Location = new System.Drawing.Point(447, 29); this.simpleButton2.Name = "simpleButton2"; - this.simpleButton2.Size = new System.Drawing.Size(94, 29); + this.simpleButton2.Size = new System.Drawing.Size(201, 29); this.simpleButton2.TabIndex = 1; - this.simpleButton2.Text = "姘存鏁版嵁"; + this.simpleButton2.Text = "纭畾璇诲彇姘存鎬绘暟鎹�"; this.simpleButton2.Click += new System.EventHandler(this.simpleButton2_Click); // // richTextBox1 // - this.richTextBox1.Location = new System.Drawing.Point(57, 227); + 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, 240); + this.richTextBox1.Size = new System.Drawing.Size(887, 539); this.richTextBox1.TabIndex = 2; this.richTextBox1.Text = ""; // - // simpleButton3 + // txtGs // - this.simpleButton3.Location = new System.Drawing.Point(471, 85); - this.simpleButton3.Name = "simpleButton3"; - this.simpleButton3.Size = new System.Drawing.Size(94, 29); - this.simpleButton3.TabIndex = 3; - this.simpleButton3.Text = "simpleButton3"; + 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; // - // buttonEdit1 + // labelControl1 // - this.buttonEdit1.Location = new System.Drawing.Point(312, 147); - this.buttonEdit1.Name = "buttonEdit1"; - this.buttonEdit1.Properties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] { - new DevExpress.XtraEditors.Controls.EditorButton()}); - this.buttonEdit1.Size = new System.Drawing.Size(125, 24); - this.buttonEdit1.TabIndex = 4; + 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 = "姣忔璇诲彇鐨勭偣鍙锋暟閲�"; // - // toggleSwitch1 + // label1 // - this.toggleSwitch1.Location = new System.Drawing.Point(293, 13); - this.toggleSwitch1.Name = "toggleSwitch1"; - this.toggleSwitch1.Properties.OffText = "Off"; - this.toggleSwitch1.Properties.OnText = "On"; - this.toggleSwitch1.Size = new System.Drawing.Size(288, 24); - this.toggleSwitch1.TabIndex = 5; + 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 浠庢満鍦板潃"; + // + // txt_slaveAddress + // + 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; + // + // 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.toggleSwitch1); - this.Controls.Add(this.buttonEdit1); - this.Controls.Add(this.simpleButton3); this.Controls.Add(this.richTextBox1); - this.Controls.Add(this.simpleButton2); - this.Controls.Add(this.simpleButton1); + this.Controls.Add(this.panelControl1); this.Name = "XtraForm1"; this.Text = "XtraForm1"; - ((System.ComponentModel.ISupportInitialize)(this.buttonEdit1.Properties)).EndInit(); - ((System.ComponentModel.ISupportInitialize)(this.toggleSwitch1.Properties)).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.XtraEditors.SimpleButton simpleButton1; private DevExpress.XtraEditors.SimpleButton simpleButton2; private System.Windows.Forms.RichTextBox richTextBox1; - private DevExpress.XtraEditors.SimpleButton simpleButton3; - private DevExpress.XtraEditors.ButtonEdit buttonEdit1; - private DevExpress.XtraEditors.ToggleSwitch toggleSwitch1; + 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