From 27c04c726187ca50c6c693c4aec92a1c43ef115b Mon Sep 17 00:00:00 2001 From: lu <99954486@qq.com> Date: 星期六, 19 四月 2025 08:12:17 +0800 Subject: [PATCH] 修改登录页 --- DevApp/Gs.DevApp/DevFrm/FrmLogin.Designer.cs | 87 +++++++++++++++++++++++++------------------ 1 files changed, 50 insertions(+), 37 deletions(-) diff --git a/DevApp/Gs.DevApp/DevFrm/FrmLogin.Designer.cs b/DevApp/Gs.DevApp/DevFrm/FrmLogin.Designer.cs index 0327b94..de4bfa4 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(); @@ -52,6 +52,7 @@ this.layoutControlItem3 = new DevExpress.XtraLayout.LayoutControlItem(); this.layoutControlItem4 = new DevExpress.XtraLayout.LayoutControlItem(); this.layoutControlItem5 = new DevExpress.XtraLayout.LayoutControlItem(); + this.panelLog = new System.Windows.Forms.Panel(); this.table1.SuspendLayout(); this.panel1.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.lay1)).BeginInit(); @@ -71,7 +72,7 @@ // 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 +84,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 +102,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); @@ -201,29 +203,29 @@ this.layoutControlItem5}); 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; // @@ -291,6 +293,16 @@ this.layoutControlItem5.TextSize = new System.Drawing.Size(0, 0); this.layoutControlItem5.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 +310,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; @@ -342,5 +354,6 @@ private DevExpress.XtraLayout.LayoutControlItem layoutControlItem3; private DevExpress.XtraLayout.LayoutControlItem layoutControlItem4; private DevExpress.XtraLayout.LayoutControlItem layoutControlItem5; + private System.Windows.Forms.Panel panelLog; } } \ No newline at end of file -- Gitblit v1.9.3