From b20e1b6f37b94f7a08bee365787f62abfb92eaaf Mon Sep 17 00:00:00 2001 From: ck_yeun9 Date: Sat, 6 Sep 2025 15:59:46 +0800 Subject: [PATCH] fix form. --- .../ClientEntrance/FrmLoading.Designer.cs | 3 ++- .../ClientMain/FrmMain.Designer.cs | 3 ++- .../FrmAccountSecurity.Designer.cs | 2 ++ .../ClientModule/FrmAvator.Designer.cs | 2 ++ .../ClientModule/FrmChangeRoom.Designer.cs | 3 ++- .../ClientModule/FrmCheckIn.Designer.cs | 3 ++- .../ClientModule/FrmPersonnelInfo.Designer.cs | 3 ++- .../ClientModule/FrmProgress.Designer.cs | 2 +- .../FrmRoomManagement.Designer.cs | 22 +++++++++---------- 9 files changed, 26 insertions(+), 17 deletions(-) diff --git a/EOM.TSHotelManagement.FormUI/ClientEntrance/FrmLoading.Designer.cs b/EOM.TSHotelManagement.FormUI/ClientEntrance/FrmLoading.Designer.cs index 5106074..7c931b9 100644 --- a/EOM.TSHotelManagement.FormUI/ClientEntrance/FrmLoading.Designer.cs +++ b/EOM.TSHotelManagement.FormUI/ClientEntrance/FrmLoading.Designer.cs @@ -126,11 +126,12 @@ Controls.Add(label1); Controls.Add(lblTips); Font = new Font("Noto Sans SC", 9F); - FormBorderStyle = FormBorderStyle.FixedSingle; + FormBorderStyle = FormBorderStyle.None; Icon = (Icon)resources.GetObject("$this.Icon"); MaximizeBox = false; MinimizeBox = false; Name = "FrmLoading"; + Resizable = false; StartPosition = FormStartPosition.CenterScreen; Text = "FrmLoading"; Load += FrmLoading_Load; diff --git a/EOM.TSHotelManagement.FormUI/ClientMain/FrmMain.Designer.cs b/EOM.TSHotelManagement.FormUI/ClientMain/FrmMain.Designer.cs index d8e1450..ff1693d 100644 --- a/EOM.TSHotelManagement.FormUI/ClientMain/FrmMain.Designer.cs +++ b/EOM.TSHotelManagement.FormUI/ClientMain/FrmMain.Designer.cs @@ -296,10 +296,11 @@ Controls.Add(pnlMID); Controls.Add(picLogo); Controls.Add(lblSoftName); - FormBorderStyle = FormBorderStyle.FixedSingle; + FormBorderStyle = FormBorderStyle.None; Icon = (Icon)resources.GetObject("$this.Icon"); Margin = new Padding(4); Name = "FrmMain"; + Resizable = false; StartPosition = FormStartPosition.CenterScreen; Text = "TS酒店管理系统"; FormClosing += FrmMain_FormClosing; diff --git a/EOM.TSHotelManagement.FormUI/ClientModule/FrmAccountSecurity.Designer.cs b/EOM.TSHotelManagement.FormUI/ClientModule/FrmAccountSecurity.Designer.cs index 3b88876..9dd8d60 100644 --- a/EOM.TSHotelManagement.FormUI/ClientModule/FrmAccountSecurity.Designer.cs +++ b/EOM.TSHotelManagement.FormUI/ClientModule/FrmAccountSecurity.Designer.cs @@ -137,8 +137,10 @@ Controls.Add(avatar1); Controls.Add(btnUpdatePassword); Controls.Add(txtNewPassword); + FormBorderStyle = FormBorderStyle.None; Icon = (Icon)resources.GetObject("$this.Icon"); Name = "FrmAccountSecurity"; + Resizable = false; StartPosition = FormStartPosition.CenterScreen; Text = "FrmAccountSecurity"; Load += FrmAccountSecurity_Load; diff --git a/EOM.TSHotelManagement.FormUI/ClientModule/FrmAvator.Designer.cs b/EOM.TSHotelManagement.FormUI/ClientModule/FrmAvator.Designer.cs index 5dcff2e..f97042d 100644 --- a/EOM.TSHotelManagement.FormUI/ClientModule/FrmAvator.Designer.cs +++ b/EOM.TSHotelManagement.FormUI/ClientModule/FrmAvator.Designer.cs @@ -80,8 +80,10 @@ Controls.Add(ucWindowHeader1); Controls.Add(label4); Controls.Add(picWorkerPic); + FormBorderStyle = FormBorderStyle.None; Icon = (Icon)resources.GetObject("$this.Icon"); Name = "FrmAvator"; + Resizable = false; StartPosition = FormStartPosition.CenterScreen; Text = "FrmAvator"; Load += FrmAvator_Load; diff --git a/EOM.TSHotelManagement.FormUI/ClientModule/FrmChangeRoom.Designer.cs b/EOM.TSHotelManagement.FormUI/ClientModule/FrmChangeRoom.Designer.cs index afb7efb..d99f2e2 100644 --- a/EOM.TSHotelManagement.FormUI/ClientModule/FrmChangeRoom.Designer.cs +++ b/EOM.TSHotelManagement.FormUI/ClientModule/FrmChangeRoom.Designer.cs @@ -109,12 +109,13 @@ Controls.Add(label1); Controls.Add(label24); Controls.Add(ucWindowHeader1); - FormBorderStyle = FormBorderStyle.FixedSingle; + FormBorderStyle = FormBorderStyle.None; Icon = (Icon)resources.GetObject("$this.Icon"); Margin = new Padding(2); MaximizeBox = false; MinimizeBox = false; Name = "FrmChangeRoom"; + Resizable = false; StartPosition = FormStartPosition.CenterScreen; Text = "转换房间"; Load += FrmChangeRoom_Load; diff --git a/EOM.TSHotelManagement.FormUI/ClientModule/FrmCheckIn.Designer.cs b/EOM.TSHotelManagement.FormUI/ClientModule/FrmCheckIn.Designer.cs index 317434d..5464960 100644 --- a/EOM.TSHotelManagement.FormUI/ClientModule/FrmCheckIn.Designer.cs +++ b/EOM.TSHotelManagement.FormUI/ClientModule/FrmCheckIn.Designer.cs @@ -307,10 +307,11 @@ Controls.Add(label19); Controls.Add(label20); Font = new Font("微软雅黑", 10.5F, FontStyle.Regular, GraphicsUnit.Point, 134); - FormBorderStyle = FormBorderStyle.FixedSingle; + FormBorderStyle = FormBorderStyle.None; Icon = (Icon)resources.GetObject("$this.Icon"); Margin = new Padding(4, 5, 4, 5); Name = "FrmCheckIn"; + Resizable = false; StartPosition = FormStartPosition.CenterScreen; Text = "房间入住"; Load += FrmCheckIn_Load; diff --git a/EOM.TSHotelManagement.FormUI/ClientModule/FrmPersonnelInfo.Designer.cs b/EOM.TSHotelManagement.FormUI/ClientModule/FrmPersonnelInfo.Designer.cs index 6509eca..507d2a8 100644 --- a/EOM.TSHotelManagement.FormUI/ClientModule/FrmPersonnelInfo.Designer.cs +++ b/EOM.TSHotelManagement.FormUI/ClientModule/FrmPersonnelInfo.Designer.cs @@ -248,9 +248,10 @@ Controls.Add(label1); Controls.Add(label2); Controls.Add(label16); - FormBorderStyle = FormBorderStyle.FixedSingle; + FormBorderStyle = FormBorderStyle.None; Icon = (Icon)resources.GetObject("$this.Icon"); Name = "FrmPersonnelInfo"; + Resizable = false; StartPosition = FormStartPosition.CenterScreen; Text = "FrmPersonnelInfo"; Load += FrmPersonnelInfo_Load; diff --git a/EOM.TSHotelManagement.FormUI/ClientModule/FrmProgress.Designer.cs b/EOM.TSHotelManagement.FormUI/ClientModule/FrmProgress.Designer.cs index 319a074..8068461 100644 --- a/EOM.TSHotelManagement.FormUI/ClientModule/FrmProgress.Designer.cs +++ b/EOM.TSHotelManagement.FormUI/ClientModule/FrmProgress.Designer.cs @@ -50,7 +50,7 @@ BackColor = Color.FromArgb(235, 243, 255); ClientSize = new Size(155, 110); Controls.Add(spin1); - FormBorderStyle = FormBorderStyle.FixedSingle; + FormBorderStyle = FormBorderStyle.None; Icon = (Icon)resources.GetObject("$this.Icon"); MaximizeBox = false; MinimizeBox = false; diff --git a/EOM.TSHotelManagement.FormUI/ClientModule/FrmRoomManagement.Designer.cs b/EOM.TSHotelManagement.FormUI/ClientModule/FrmRoomManagement.Designer.cs index 323a5ca..b8b3023 100644 --- a/EOM.TSHotelManagement.FormUI/ClientModule/FrmRoomManagement.Designer.cs +++ b/EOM.TSHotelManagement.FormUI/ClientModule/FrmRoomManagement.Designer.cs @@ -58,17 +58,17 @@ pnlRoomInfo.Controls.Add(label3); pnlRoomInfo.Controls.Add(label2); pnlRoomInfo.Controls.Add(label1); - pnlRoomInfo.Location = new Point(2, 312); + pnlRoomInfo.Location = new Point(3, 273); pnlRoomInfo.Margin = new Padding(4); pnlRoomInfo.Name = "pnlRoomInfo"; - pnlRoomInfo.Size = new Size(255, 307); + pnlRoomInfo.Size = new Size(255, 346); pnlRoomInfo.TabIndex = 72; // // lblRoomState // lblRoomState.AutoSize = true; lblRoomState.Font = new Font("Noto Sans SC", 12F); - lblRoomState.Location = new Point(108, 277); + lblRoomState.Location = new Point(108, 173); lblRoomState.Margin = new Padding(4, 0, 4, 0); lblRoomState.Name = "lblRoomState"; lblRoomState.Size = new Size(12, 17); @@ -79,7 +79,7 @@ // label11.AutoSize = true; label11.Font = new Font("Noto Sans SC", 12F); - label11.Location = new Point(11, 277); + label11.Location = new Point(11, 173); label11.Margin = new Padding(4, 0, 4, 0); label11.Name = "label11"; label11.Size = new Size(88, 17); @@ -101,7 +101,7 @@ // lblCustoName.AutoSize = true; lblCustoName.Font = new Font("Noto Sans SC", 12F); - lblCustoName.Location = new Point(108, 79); + lblCustoName.Location = new Point(108, 53); lblCustoName.Margin = new Padding(4, 0, 4, 0); lblCustoName.Name = "lblCustoName"; lblCustoName.Size = new Size(12, 17); @@ -112,7 +112,7 @@ // lblRoomPosition.AutoSize = true; lblRoomPosition.Font = new Font("Noto Sans SC", 12F); - lblRoomPosition.Location = new Point(108, 211); + lblRoomPosition.Location = new Point(108, 133); lblRoomPosition.Margin = new Padding(4, 0, 4, 0); lblRoomPosition.Name = "lblRoomPosition"; lblRoomPosition.Size = new Size(12, 17); @@ -123,7 +123,7 @@ // lblCheckTime.AutoSize = true; lblCheckTime.Font = new Font("Noto Sans SC", 12F); - lblCheckTime.Location = new Point(108, 145); + lblCheckTime.Location = new Point(108, 93); lblCheckTime.Margin = new Padding(4, 0, 4, 0); lblCheckTime.Name = "lblCheckTime"; lblCheckTime.Size = new Size(12, 17); @@ -134,7 +134,7 @@ // label4.AutoSize = true; label4.Font = new Font("Noto Sans SC", 12F); - label4.Location = new Point(11, 211); + label4.Location = new Point(11, 133); label4.Margin = new Padding(4, 0, 4, 0); label4.Name = "label4"; label4.Size = new Size(88, 17); @@ -145,7 +145,7 @@ // label3.AutoSize = true; label3.Font = new Font("Noto Sans SC", 12F); - label3.Location = new Point(11, 145); + label3.Location = new Point(11, 93); label3.Margin = new Padding(4, 0, 4, 0); label3.Name = "label3"; label3.Size = new Size(88, 17); @@ -156,7 +156,7 @@ // label2.AutoSize = true; label2.Font = new Font("Noto Sans SC", 12F); - label2.Location = new Point(11, 79); + label2.Location = new Point(11, 53); label2.Margin = new Padding(4, 0, 4, 0); label2.Name = "label2"; label2.Size = new Size(88, 17); @@ -181,7 +181,7 @@ muRoomState.Location = new Point(2, 4); muRoomState.Mode = AntdUI.TMenuMode.Vertical; muRoomState.Name = "muRoomState"; - muRoomState.Size = new Size(255, 301); + muRoomState.Size = new Size(255, 262); muRoomState.TabIndex = 96; muRoomState.SelectChanged += muRoomState_SelectChanged; // -- Gitee