From d1fde218cd82d4e64f8e15accbafa11ed1efd780 Mon Sep 17 00:00:00 2001 From: lu <99954486@qq.com> Date: 星期三, 21 五月 2025 20:09:21 +0800 Subject: [PATCH] 称重 --- DevApp/Gs.DevApp/DevFrm/Work/Frm_Work09.Designer.cs | 71 +++++++++++++++++++++++++---------- 1 files changed, 50 insertions(+), 21 deletions(-) diff --git a/DevApp/Gs.DevApp/DevFrm/Work/Frm_Work09.Designer.cs b/DevApp/Gs.DevApp/DevFrm/Work/Frm_Work09.Designer.cs index 8df3115..f6f0826 100644 --- a/DevApp/Gs.DevApp/DevFrm/Work/Frm_Work09.Designer.cs +++ b/DevApp/Gs.DevApp/DevFrm/Work/Frm_Work09.Designer.cs @@ -52,7 +52,6 @@ this.layoutControlItem7 = new DevExpress.XtraLayout.LayoutControlItem(); this.layoutControlItem9 = new DevExpress.XtraLayout.LayoutControlItem(); this.layoutControlItem4 = new DevExpress.XtraLayout.LayoutControlItem(); - this.layoutControlItem2 = new DevExpress.XtraLayout.LayoutControlItem(); this.gcMx1 = new DevExpress.XtraGrid.GridControl(); this.gvMx1 = new DevExpress.XtraGrid.Views.Grid.GridView(); this.gridColumn1 = new DevExpress.XtraGrid.Columns.GridColumn(); @@ -67,6 +66,9 @@ this.gridColumn11 = new DevExpress.XtraGrid.Columns.GridColumn(); this.gridColumn12 = new DevExpress.XtraGrid.Columns.GridColumn(); this.gridColumn13 = new DevExpress.XtraGrid.Columns.GridColumn(); + this.txtMsg = new DevExpress.XtraEditors.LabelControl(); + this.layoutControlItem5 = new DevExpress.XtraLayout.LayoutControlItem(); + this.layoutControlItem2 = new DevExpress.XtraLayout.LayoutControlItem(); ((System.ComponentModel.ISupportInitialize)(this.split1)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.split1.Panel1)).BeginInit(); this.split1.Panel1.SuspendLayout(); @@ -89,9 +91,10 @@ ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem7)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem9)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem4)).BeginInit(); - ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem2)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.gcMx1)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.gvMx1)).BeginInit(); + ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem5)).BeginInit(); + ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem2)).BeginInit(); this.SuspendLayout(); // // split1 @@ -116,6 +119,7 @@ // // layoutMx1 // + this.layoutMx1.Controls.Add(this.txtMsg); this.layoutMx1.Controls.Add(this.comLine); this.layoutMx1.Controls.Add(this.btnStart); this.layoutMx1.Controls.Add(this.cmbSerialPortNum); @@ -125,6 +129,8 @@ this.layoutMx1.Controls.Add(this.comStopBits); this.layoutMx1.Controls.Add(this.comParity); this.layoutMx1.Dock = System.Windows.Forms.DockStyle.Fill; + this.layoutMx1.HiddenItems.AddRange(new DevExpress.XtraLayout.BaseLayoutItem[] { + this.layoutControlItem5}); this.layoutMx1.Location = new System.Drawing.Point(0, 0); this.layoutMx1.Name = "layoutMx1"; this.layoutMx1.OptionsCustomizationForm.DesignTimeCustomizationFormPositionAndSize = new System.Drawing.Rectangle(310, 455, 812, 500); @@ -146,7 +152,7 @@ this.btnStart.Appearance.BackColor = DevExpress.LookAndFeel.DXSkinColors.FillColors.Question; this.btnStart.Appearance.Options.UseBackColor = true; this.btnStart.Appearance.Options.UseFont = true; - this.btnStart.Location = new System.Drawing.Point(512, 74); + this.btnStart.Location = new System.Drawing.Point(512, 12); this.btnStart.Name = "btnStart"; this.btnStart.Size = new System.Drawing.Size(246, 27); this.btnStart.StyleController = this.layoutMx1; @@ -187,7 +193,7 @@ // // txtNum // - this.txtNum.Location = new System.Drawing.Point(594, 22); + this.txtNum.Location = new System.Drawing.Point(594, 53); this.txtNum.Name = "txtNum"; this.txtNum.Properties.Appearance.Font = new System.Drawing.Font("Tahoma", 15F); this.txtNum.Properties.Appearance.Options.UseFont = true; @@ -353,28 +359,14 @@ this.layoutControlItem4.AppearanceItemCaption.Options.UseFont = true; this.layoutControlItem4.ContentVertAlignment = DevExpress.Utils.VertAlignment.Center; this.layoutControlItem4.Control = this.txtNum; - this.layoutControlItem4.Location = new System.Drawing.Point(500, 0); + this.layoutControlItem4.Location = new System.Drawing.Point(500, 31); this.layoutControlItem4.Name = "layoutControlItem4"; this.layoutControlItem4.OptionsTableLayoutItem.ColumnIndex = 2; + this.layoutControlItem4.OptionsTableLayoutItem.RowIndex = 1; this.layoutControlItem4.OptionsTableLayoutItem.RowSpan = 2; this.layoutControlItem4.Size = new System.Drawing.Size(499, 62); this.layoutControlItem4.Text = "閲嶉噺"; this.layoutControlItem4.TextSize = new System.Drawing.Size(70, 41); - // - // layoutControlItem2 - // - this.layoutControlItem2.Control = this.btnStart; - this.layoutControlItem2.Location = new System.Drawing.Point(500, 62); - this.layoutControlItem2.MaxSize = new System.Drawing.Size(250, 31); - this.layoutControlItem2.MinSize = new System.Drawing.Size(41, 31); - this.layoutControlItem2.Name = "layoutControlItem2"; - this.layoutControlItem2.OptionsTableLayoutItem.ColumnIndex = 2; - this.layoutControlItem2.OptionsTableLayoutItem.RowIndex = 2; - this.layoutControlItem2.Size = new System.Drawing.Size(499, 31); - this.layoutControlItem2.SizeConstraintsType = DevExpress.XtraLayout.SizeConstraintsType.Custom; - this.layoutControlItem2.Text = "鍚姩"; - this.layoutControlItem2.TextSize = new System.Drawing.Size(0, 0); - this.layoutControlItem2.TextVisible = false; // // gcMx1 // @@ -525,6 +517,40 @@ this.gridColumn13.VisibleIndex = 11; this.gridColumn13.Width = 94; // + // txtMsg + // + this.txtMsg.Location = new System.Drawing.Point(512, 12); + this.txtMsg.Name = "txtMsg"; + this.txtMsg.Size = new System.Drawing.Size(37, 18); + this.txtMsg.StyleController = this.layoutMx1; + this.txtMsg.TabIndex = 15; + this.txtMsg.Text = "lbMsg"; + // + // layoutControlItem5 + // + this.layoutControlItem5.Control = this.txtMsg; + this.layoutControlItem5.Location = new System.Drawing.Point(500, 0); + this.layoutControlItem5.Name = "layoutControlItem5"; + this.layoutControlItem5.OptionsTableLayoutItem.ColumnIndex = 2; + this.layoutControlItem5.Size = new System.Drawing.Size(520, 29); + this.layoutControlItem5.Text = "lbMsg"; + this.layoutControlItem5.TextSize = new System.Drawing.Size(0, 0); + this.layoutControlItem5.TextVisible = false; + // + // layoutControlItem2 + // + this.layoutControlItem2.Control = this.btnStart; + this.layoutControlItem2.Location = new System.Drawing.Point(500, 0); + this.layoutControlItem2.MaxSize = new System.Drawing.Size(250, 31); + this.layoutControlItem2.MinSize = new System.Drawing.Size(41, 31); + this.layoutControlItem2.Name = "layoutControlItem2"; + this.layoutControlItem2.OptionsTableLayoutItem.ColumnIndex = 2; + this.layoutControlItem2.Size = new System.Drawing.Size(499, 31); + this.layoutControlItem2.SizeConstraintsType = DevExpress.XtraLayout.SizeConstraintsType.Custom; + this.layoutControlItem2.Text = "鍚姩"; + this.layoutControlItem2.TextSize = new System.Drawing.Size(0, 0); + this.layoutControlItem2.TextVisible = false; + // // Frm_Work09 // this.AutoScaleDimensions = new System.Drawing.SizeF(8F, 18F); @@ -557,9 +583,10 @@ ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem7)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem9)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem4)).EndInit(); - ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem2)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.gcMx1)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.gvMx1)).EndInit(); + ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem5)).EndInit(); + ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem2)).EndInit(); this.ResumeLayout(false); } @@ -597,6 +624,8 @@ private DevExpress.XtraLayout.LayoutControlItem layoutControlItem7; private DevExpress.XtraLayout.LayoutControlItem layoutControlItem9; private DevExpress.XtraLayout.LayoutControlItem layoutControlItem4; + private DevExpress.XtraEditors.LabelControl txtMsg; + private DevExpress.XtraLayout.LayoutControlItem layoutControlItem5; private DevExpress.XtraLayout.LayoutControlItem layoutControlItem2; } } \ No newline at end of file -- Gitblit v1.9.3