From 64a6c4193199d15d7ac5aa67a9677df01a37a50d Mon Sep 17 00:00:00 2001 From: lu <99954486@qq.com> Date: 星期四, 12 六月 2025 08:04:31 +0800 Subject: [PATCH] bug --- DevApp/Gs.DevApp/DevFrm/FrmLogin.Designer.cs | 127 ++++++++++++++++++++++++++++------------- 1 files changed, 86 insertions(+), 41 deletions(-) diff --git a/DevApp/Gs.DevApp/DevFrm/FrmLogin.Designer.cs b/DevApp/Gs.DevApp/DevFrm/FrmLogin.Designer.cs index 0327b94..e2ee6b5 100644 --- a/DevApp/Gs.DevApp/DevFrm/FrmLogin.Designer.cs +++ b/DevApp/Gs.DevApp/DevFrm/FrmLogin.Designer.cs @@ -30,13 +30,13 @@ private void InitializeComponent() { System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(FrmLogin)); - DevExpress.XtraLayout.ColumnDefinition columnDefinition5 = new DevExpress.XtraLayout.ColumnDefinition(); - DevExpress.XtraLayout.ColumnDefinition columnDefinition6 = new DevExpress.XtraLayout.ColumnDefinition(); - DevExpress.XtraLayout.RowDefinition rowDefinition11 = new DevExpress.XtraLayout.RowDefinition(); - DevExpress.XtraLayout.RowDefinition rowDefinition12 = new DevExpress.XtraLayout.RowDefinition(); - DevExpress.XtraLayout.RowDefinition rowDefinition13 = new DevExpress.XtraLayout.RowDefinition(); - DevExpress.XtraLayout.RowDefinition rowDefinition14 = new DevExpress.XtraLayout.RowDefinition(); - DevExpress.XtraLayout.RowDefinition rowDefinition15 = new DevExpress.XtraLayout.RowDefinition(); + DevExpress.XtraLayout.ColumnDefinition columnDefinition1 = new DevExpress.XtraLayout.ColumnDefinition(); + DevExpress.XtraLayout.ColumnDefinition columnDefinition2 = new DevExpress.XtraLayout.ColumnDefinition(); + DevExpress.XtraLayout.RowDefinition rowDefinition1 = new DevExpress.XtraLayout.RowDefinition(); + DevExpress.XtraLayout.RowDefinition rowDefinition2 = new DevExpress.XtraLayout.RowDefinition(); + DevExpress.XtraLayout.RowDefinition rowDefinition3 = new DevExpress.XtraLayout.RowDefinition(); + DevExpress.XtraLayout.RowDefinition rowDefinition4 = new DevExpress.XtraLayout.RowDefinition(); + DevExpress.XtraLayout.RowDefinition rowDefinition5 = new DevExpress.XtraLayout.RowDefinition(); this.lbVersion = new System.Windows.Forms.Label(); this.table1 = new System.Windows.Forms.TableLayoutPanel(); this.panel1 = new System.Windows.Forms.Panel(); @@ -46,12 +46,15 @@ this.btnLogin = new DevExpress.XtraEditors.SimpleButton(); this.txtUser = new DevExpress.XtraEditors.TextEdit(); this.txtPwd = new DevExpress.XtraEditors.TextEdit(); + this.ckWeight = new DevExpress.XtraEditors.CheckEdit(); this.Root = new DevExpress.XtraLayout.LayoutControlGroup(); this.layoutControlItem1 = new DevExpress.XtraLayout.LayoutControlItem(); this.layoutControlItem2 = new DevExpress.XtraLayout.LayoutControlItem(); this.layoutControlItem3 = new DevExpress.XtraLayout.LayoutControlItem(); this.layoutControlItem4 = new DevExpress.XtraLayout.LayoutControlItem(); this.layoutControlItem5 = new DevExpress.XtraLayout.LayoutControlItem(); + this.layoutControlItem6 = new DevExpress.XtraLayout.LayoutControlItem(); + this.panelLog = new System.Windows.Forms.Panel(); this.table1.SuspendLayout(); this.panel1.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.lay1)).BeginInit(); @@ -59,19 +62,21 @@ ((System.ComponentModel.ISupportInitialize)(this.ckRemember.Properties)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.txtUser.Properties)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.txtPwd.Properties)).BeginInit(); + ((System.ComponentModel.ISupportInitialize)(this.ckWeight.Properties)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.Root)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem1)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem2)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem3)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem4)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem5)).BeginInit(); + ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem6)).BeginInit(); this.SuspendLayout(); // // lbVersion // this.lbVersion.AutoSize = true; this.lbVersion.BackColor = System.Drawing.Color.Transparent; - this.lbVersion.Location = new System.Drawing.Point(3, 763); + this.lbVersion.Location = new System.Drawing.Point(3, 767); this.lbVersion.Margin = new System.Windows.Forms.Padding(3, 0, 0, 0); this.lbVersion.Name = "lbVersion"; this.lbVersion.Size = new System.Drawing.Size(143, 18); @@ -83,15 +88,16 @@ this.table1.BackColor = System.Drawing.Color.Transparent; this.table1.ColumnCount = 1; this.table1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 100F)); - this.table1.Controls.Add(this.lbVersion, 0, 1); - this.table1.Controls.Add(this.panel1, 0, 0); + this.table1.Controls.Add(this.lbVersion, 0, 2); + this.table1.Controls.Add(this.panel1, 0, 1); + this.table1.Controls.Add(this.panelLog, 0, 0); this.table1.Dock = System.Windows.Forms.DockStyle.Fill; this.table1.Location = new System.Drawing.Point(0, 0); this.table1.Name = "table1"; - this.table1.RowCount = 2; - this.table1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 100F)); - this.table1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 30F)); - this.table1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 20F)); + this.table1.RowCount = 3; + this.table1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 49.02216F)); + this.table1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 50.97784F)); + this.table1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 25F)); this.table1.Size = new System.Drawing.Size(734, 793); this.table1.TabIndex = 247; // @@ -100,7 +106,7 @@ this.panel1.Anchor = System.Windows.Forms.AnchorStyles.Bottom; this.panel1.BackColor = System.Drawing.Color.Transparent; this.panel1.Controls.Add(this.lay1); - this.panel1.Location = new System.Drawing.Point(179, 501); + this.panel1.Location = new System.Drawing.Point(179, 505); this.panel1.Margin = new System.Windows.Forms.Padding(3, 4, 3, 4); this.panel1.Name = "panel1"; this.panel1.Size = new System.Drawing.Size(375, 258); @@ -113,6 +119,7 @@ this.lay1.Controls.Add(this.btnLogin); this.lay1.Controls.Add(this.txtUser); this.lay1.Controls.Add(this.txtPwd); + this.lay1.Controls.Add(this.ckWeight); this.lay1.Dock = System.Windows.Forms.DockStyle.Fill; this.lay1.Location = new System.Drawing.Point(0, 0); this.lay1.Name = "lay1"; @@ -146,7 +153,7 @@ this.ckRemember.Properties.Appearance.Options.UseForeColor = true; this.ckRemember.Properties.BorderStyle = DevExpress.XtraEditors.Controls.BorderStyles.UltraFlat; this.ckRemember.Properties.Caption = "淇濆瓨鐧诲綍淇℃伅"; - this.ckRemember.Size = new System.Drawing.Size(351, 26); + this.ckRemember.Size = new System.Drawing.Size(173, 26); this.ckRemember.StyleController = this.lay1; this.ckRemember.TabIndex = 17; // @@ -189,6 +196,16 @@ this.txtPwd.StyleController = this.lay1; this.txtPwd.TabIndex = 22; // + // ckWeight + // + this.ckWeight.Location = new System.Drawing.Point(189, 106); + this.ckWeight.Name = "ckWeight"; + this.ckWeight.Properties.Caption = "浠呯О閲嶆ā寮�"; + this.ckWeight.Properties.ContentAlignment = DevExpress.Utils.HorzAlignment.Far; + this.ckWeight.Size = new System.Drawing.Size(174, 24); + this.ckWeight.StyleController = this.lay1; + this.ckWeight.TabIndex = 23; + // // Root // this.Root.EnableIndentsWithoutBorders = DevExpress.Utils.DefaultBoolean.True; @@ -198,32 +215,33 @@ this.layoutControlItem2, this.layoutControlItem3, this.layoutControlItem4, - this.layoutControlItem5}); + this.layoutControlItem5, + this.layoutControlItem6}); this.Root.LayoutMode = DevExpress.XtraLayout.Utils.LayoutMode.Table; this.Root.Name = "Root"; - columnDefinition5.SizeType = System.Windows.Forms.SizeType.Percent; - columnDefinition5.Width = 100D; - columnDefinition6.SizeType = System.Windows.Forms.SizeType.Percent; - columnDefinition6.Width = 100D; + columnDefinition1.SizeType = System.Windows.Forms.SizeType.Percent; + columnDefinition1.Width = 100D; + columnDefinition2.SizeType = System.Windows.Forms.SizeType.Percent; + columnDefinition2.Width = 100D; this.Root.OptionsTableLayoutGroup.ColumnDefinitions.AddRange(new DevExpress.XtraLayout.ColumnDefinition[] { - columnDefinition5, - columnDefinition6}); - rowDefinition11.Height = 100D; - rowDefinition11.SizeType = System.Windows.Forms.SizeType.Percent; - rowDefinition12.Height = 100D; - rowDefinition12.SizeType = System.Windows.Forms.SizeType.Percent; - rowDefinition13.Height = 100D; - rowDefinition13.SizeType = System.Windows.Forms.SizeType.Percent; - rowDefinition14.Height = 100D; - rowDefinition14.SizeType = System.Windows.Forms.SizeType.Percent; - rowDefinition15.Height = 50D; - rowDefinition15.SizeType = System.Windows.Forms.SizeType.AutoSize; + columnDefinition1, + columnDefinition2}); + rowDefinition1.Height = 100D; + rowDefinition1.SizeType = System.Windows.Forms.SizeType.Percent; + rowDefinition2.Height = 100D; + rowDefinition2.SizeType = System.Windows.Forms.SizeType.Percent; + rowDefinition3.Height = 100D; + rowDefinition3.SizeType = System.Windows.Forms.SizeType.Percent; + rowDefinition4.Height = 100D; + rowDefinition4.SizeType = System.Windows.Forms.SizeType.Percent; + rowDefinition5.Height = 50D; + rowDefinition5.SizeType = System.Windows.Forms.SizeType.AutoSize; this.Root.OptionsTableLayoutGroup.RowDefinitions.AddRange(new DevExpress.XtraLayout.RowDefinition[] { - rowDefinition11, - rowDefinition12, - rowDefinition13, - rowDefinition14, - rowDefinition15}); + rowDefinition1, + rowDefinition2, + rowDefinition3, + rowDefinition4, + rowDefinition5}); this.Root.Size = new System.Drawing.Size(375, 258); this.Root.TextVisible = false; // @@ -253,9 +271,8 @@ this.layoutControlItem3.Control = this.ckRemember; this.layoutControlItem3.Location = new System.Drawing.Point(0, 94); this.layoutControlItem3.Name = "layoutControlItem3"; - this.layoutControlItem3.OptionsTableLayoutItem.ColumnSpan = 2; this.layoutControlItem3.OptionsTableLayoutItem.RowIndex = 2; - this.layoutControlItem3.Size = new System.Drawing.Size(355, 47); + this.layoutControlItem3.Size = new System.Drawing.Size(177, 47); this.layoutControlItem3.Text = "淇濆瓨瀵嗙爜"; this.layoutControlItem3.TextSize = new System.Drawing.Size(0, 0); this.layoutControlItem3.TextVisible = false; @@ -291,6 +308,29 @@ this.layoutControlItem5.TextSize = new System.Drawing.Size(0, 0); this.layoutControlItem5.TextVisible = false; // + // layoutControlItem6 + // + this.layoutControlItem6.ContentHorzAlignment = DevExpress.Utils.HorzAlignment.Far; + this.layoutControlItem6.Control = this.ckWeight; + this.layoutControlItem6.Location = new System.Drawing.Point(177, 94); + this.layoutControlItem6.Name = "layoutControlItem6"; + this.layoutControlItem6.OptionsTableLayoutItem.ColumnIndex = 1; + this.layoutControlItem6.OptionsTableLayoutItem.RowIndex = 2; + this.layoutControlItem6.Size = new System.Drawing.Size(178, 47); + this.layoutControlItem6.Text = "绉伴噸妯″紡"; + this.layoutControlItem6.TextSize = new System.Drawing.Size(0, 0); + this.layoutControlItem6.TextVisible = false; + // + // panelLog + // + this.panelLog.Anchor = System.Windows.Forms.AnchorStyles.Bottom; + this.panelLog.BackgroundImage = global::Gs.DevApp.Properties.Resources.logo_png_black; + this.panelLog.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Zoom; + this.panelLog.Location = new System.Drawing.Point(312, 263); + this.panelLog.Name = "panelLog"; + this.panelLog.Size = new System.Drawing.Size(110, 110); + this.panelLog.TabIndex = 246; + // // FrmLogin // this.Appearance.BackColor = System.Drawing.Color.Black; @@ -298,7 +338,7 @@ this.AutoScaleDimensions = new System.Drawing.SizeF(8F, 18F); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; this.BackgroundImageLayoutStore = System.Windows.Forms.ImageLayout.Stretch; - this.BackgroundImageStore = global::Gs.DevApp.Properties.Resources.login_bg6; + this.BackgroundImageStore = global::Gs.DevApp.Properties.Resources.login_bgOk; this.ClientSize = new System.Drawing.Size(734, 793); this.Controls.Add(this.table1); this.DoubleBuffered = true; @@ -316,12 +356,14 @@ ((System.ComponentModel.ISupportInitialize)(this.ckRemember.Properties)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.txtUser.Properties)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.txtPwd.Properties)).EndInit(); + ((System.ComponentModel.ISupportInitialize)(this.ckWeight.Properties)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.Root)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem1)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem2)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem3)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem4)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem5)).EndInit(); + ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem6)).EndInit(); this.ResumeLayout(false); } @@ -342,5 +384,8 @@ private DevExpress.XtraLayout.LayoutControlItem layoutControlItem3; private DevExpress.XtraLayout.LayoutControlItem layoutControlItem4; private DevExpress.XtraLayout.LayoutControlItem layoutControlItem5; + private System.Windows.Forms.Panel panelLog; + private DevExpress.XtraEditors.CheckEdit ckWeight; + private DevExpress.XtraLayout.LayoutControlItem layoutControlItem6; } } \ No newline at end of file -- Gitblit v1.9.3