From c07b3c05c06f7b32dc52f936895f4fc9f33a5c87 Mon Sep 17 00:00:00 2001
From: Shuxia Ning <NingShuxia0927@outlook.com>
Date: 星期三, 14 八月 2024 14:13:45 +0800
Subject: [PATCH] 界面微调

---
 WinFrmUI/HStation.WinFrmUI.Basic/02-SysPropManage/AddSysPropDlg.Designer.cs |  188 +++++++++++++++++++++++++---------------------
 1 files changed, 101 insertions(+), 87 deletions(-)

diff --git a/WinFrmUI/HStation.WinFrmUI.Basic/02-SysPropManage/AddSysPropDlg.Designer.cs b/WinFrmUI/HStation.WinFrmUI.Basic/02-SysPropManage/AddSysPropDlg.Designer.cs
index 00f4b0e..cbe31ca 100644
--- a/WinFrmUI/HStation.WinFrmUI.Basic/02-SysPropManage/AddSysPropDlg.Designer.cs
+++ b/WinFrmUI/HStation.WinFrmUI.Basic/02-SysPropManage/AddSysPropDlg.Designer.cs
@@ -30,48 +30,50 @@
         {
             components = new System.ComponentModel.Container();
             layoutControl1 = new DevExpress.XtraLayout.LayoutControl();
-            BtnOk = new DevExpress.XtraEditors.SimpleButton();
-            btnCancel = new DevExpress.XtraEditors.SimpleButton();
             TextEditCode = new DevExpress.XtraEditors.TextEdit();
             TextEditName = new DevExpress.XtraEditors.TextEdit();
             TextEditDescription = new DevExpress.XtraEditors.MemoEdit();
-            TextEditFormat = new DevExpress.XtraEditors.TextEdit();
             TextEditUnitName = new DevExpress.XtraEditors.TextEdit();
             TextEditDefaultValue = new DevExpress.XtraEditors.TextEdit();
             CheckEditIsNull = new DevExpress.XtraEditors.CheckEdit();
+            TextEditFormat = new DevExpress.XtraEditors.ImageComboBoxEdit();
             Root = new DevExpress.XtraLayout.LayoutControlGroup();
             layoutControlItem3 = new DevExpress.XtraLayout.LayoutControlItem();
             layoutControlItem5 = new DevExpress.XtraLayout.LayoutControlItem();
             layoutControlItem1 = new DevExpress.XtraLayout.LayoutControlItem();
-            layoutControlItem6 = new DevExpress.XtraLayout.LayoutControlItem();
-            emptySpaceItem1 = new DevExpress.XtraLayout.EmptySpaceItem();
-            layoutControlItem4 = new DevExpress.XtraLayout.LayoutControlItem();
             layoutControlItem2 = new DevExpress.XtraLayout.LayoutControlItem();
             layoutControlItem7 = new DevExpress.XtraLayout.LayoutControlItem();
             layoutControlItem8 = new DevExpress.XtraLayout.LayoutControlItem();
             layoutControlItem9 = new DevExpress.XtraLayout.LayoutControlItem();
             dxErrorProvider1 = new DevExpress.XtraEditors.DXErrorProvider.DXErrorProvider(components);
+            layoutControlItem6 = new DevExpress.XtraLayout.LayoutControlItem();
+            btnCancel = new DevExpress.XtraEditors.SimpleButton();
+            layoutControlItem4 = new DevExpress.XtraLayout.LayoutControlItem();
+            BtnOk = new DevExpress.XtraEditors.SimpleButton();
+            emptySpaceItem1 = new DevExpress.XtraLayout.EmptySpaceItem();
+            emptySpaceItem2 = new DevExpress.XtraLayout.EmptySpaceItem();
             ((System.ComponentModel.ISupportInitialize)layoutControl1).BeginInit();
             layoutControl1.SuspendLayout();
             ((System.ComponentModel.ISupportInitialize)TextEditCode.Properties).BeginInit();
             ((System.ComponentModel.ISupportInitialize)TextEditName.Properties).BeginInit();
             ((System.ComponentModel.ISupportInitialize)TextEditDescription.Properties).BeginInit();
-            ((System.ComponentModel.ISupportInitialize)TextEditFormat.Properties).BeginInit();
             ((System.ComponentModel.ISupportInitialize)TextEditUnitName.Properties).BeginInit();
             ((System.ComponentModel.ISupportInitialize)TextEditDefaultValue.Properties).BeginInit();
             ((System.ComponentModel.ISupportInitialize)CheckEditIsNull.Properties).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)TextEditFormat.Properties).BeginInit();
             ((System.ComponentModel.ISupportInitialize)Root).BeginInit();
             ((System.ComponentModel.ISupportInitialize)layoutControlItem3).BeginInit();
             ((System.ComponentModel.ISupportInitialize)layoutControlItem5).BeginInit();
             ((System.ComponentModel.ISupportInitialize)layoutControlItem1).BeginInit();
-            ((System.ComponentModel.ISupportInitialize)layoutControlItem6).BeginInit();
-            ((System.ComponentModel.ISupportInitialize)emptySpaceItem1).BeginInit();
-            ((System.ComponentModel.ISupportInitialize)layoutControlItem4).BeginInit();
             ((System.ComponentModel.ISupportInitialize)layoutControlItem2).BeginInit();
             ((System.ComponentModel.ISupportInitialize)layoutControlItem7).BeginInit();
             ((System.ComponentModel.ISupportInitialize)layoutControlItem8).BeginInit();
             ((System.ComponentModel.ISupportInitialize)layoutControlItem9).BeginInit();
             ((System.ComponentModel.ISupportInitialize)dxErrorProvider1).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)layoutControlItem6).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)layoutControlItem4).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)emptySpaceItem1).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)emptySpaceItem2).BeginInit();
             SuspendLayout();
             // 
             // layoutControl1
@@ -81,10 +83,10 @@
             layoutControl1.Controls.Add(TextEditCode);
             layoutControl1.Controls.Add(TextEditName);
             layoutControl1.Controls.Add(TextEditDescription);
-            layoutControl1.Controls.Add(TextEditFormat);
             layoutControl1.Controls.Add(TextEditUnitName);
             layoutControl1.Controls.Add(TextEditDefaultValue);
             layoutControl1.Controls.Add(CheckEditIsNull);
+            layoutControl1.Controls.Add(TextEditFormat);
             layoutControl1.Dock = DockStyle.Fill;
             layoutControl1.Location = new Point(0, 0);
             layoutControl1.Name = "layoutControl1";
@@ -93,37 +95,13 @@
             layoutControl1.TabIndex = 0;
             layoutControl1.Text = "layoutControl1";
             // 
-            // BtnOk
-            // 
-            BtnOk.Appearance.BackColor = DevExpress.LookAndFeel.DXSkinColors.FillColors.Primary;
-            BtnOk.Appearance.Options.UseBackColor = true;
-            BtnOk.Location = new Point(356, 245);
-            BtnOk.Name = "BtnOk";
-            BtnOk.Size = new Size(70, 22);
-            BtnOk.StyleController = layoutControl1;
-            BtnOk.TabIndex = 5;
-            BtnOk.Text = "瀹屾垚";
-            BtnOk.Click += BtnOk_ClickAsync;
-            // 
-            // btnCancel
-            // 
-            btnCancel.Appearance.BackColor = DevExpress.LookAndFeel.DXSkinColors.FillColors.Danger;
-            btnCancel.Appearance.Options.UseBackColor = true;
-            btnCancel.DialogResult = DialogResult.Cancel;
-            btnCancel.Location = new Point(430, 245);
-            btnCancel.Name = "btnCancel";
-            btnCancel.Size = new Size(73, 22);
-            btnCancel.StyleController = layoutControl1;
-            btnCancel.TabIndex = 6;
-            btnCancel.Text = "鍙栨秷";
-            // 
             // TextEditCode
             // 
             TextEditCode.Location = new Point(72, 32);
             TextEditCode.Name = "TextEditCode";
             TextEditCode.Size = new Size(431, 20);
             TextEditCode.StyleController = layoutControl1;
-            TextEditCode.TabIndex = 3;
+            TextEditCode.TabIndex = 2;
             // 
             // TextEditName
             // 
@@ -139,15 +117,7 @@
             TextEditDescription.Name = "TextEditDescription";
             TextEditDescription.Size = new Size(431, 89);
             TextEditDescription.StyleController = layoutControl1;
-            TextEditDescription.TabIndex = 4;
-            // 
-            // TextEditFormat
-            // 
-            TextEditFormat.Location = new Point(72, 56);
-            TextEditFormat.Name = "TextEditFormat";
-            TextEditFormat.Size = new Size(431, 20);
-            TextEditFormat.StyleController = layoutControl1;
-            TextEditFormat.TabIndex = 7;
+            TextEditDescription.TabIndex = 7;
             // 
             // TextEditUnitName
             // 
@@ -155,7 +125,7 @@
             TextEditUnitName.Name = "TextEditUnitName";
             TextEditUnitName.Size = new Size(431, 20);
             TextEditUnitName.StyleController = layoutControl1;
-            TextEditUnitName.TabIndex = 8;
+            TextEditUnitName.TabIndex = 4;
             // 
             // TextEditDefaultValue
             // 
@@ -163,7 +133,7 @@
             TextEditDefaultValue.Name = "TextEditDefaultValue";
             TextEditDefaultValue.Size = new Size(431, 20);
             TextEditDefaultValue.StyleController = layoutControl1;
-            TextEditDefaultValue.TabIndex = 9;
+            TextEditDefaultValue.TabIndex = 5;
             // 
             // CheckEditIsNull
             // 
@@ -173,7 +143,17 @@
             CheckEditIsNull.Properties.GlyphAlignment = DevExpress.Utils.HorzAlignment.Default;
             CheckEditIsNull.Size = new Size(495, 20);
             CheckEditIsNull.StyleController = layoutControl1;
-            CheckEditIsNull.TabIndex = 10;
+            CheckEditIsNull.TabIndex = 6;
+            // 
+            // TextEditFormat
+            // 
+            TextEditFormat.Location = new Point(72, 56);
+            TextEditFormat.Name = "TextEditFormat";
+            TextEditFormat.Properties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] { new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo) });
+            TextEditFormat.Properties.Items.AddRange(new DevExpress.XtraEditors.Controls.ImageComboBoxItem[] { new DevExpress.XtraEditors.Controls.ImageComboBoxItem("鏁存暟", 1, -1), new DevExpress.XtraEditors.Controls.ImageComboBoxItem("闀挎暣鏁�", "2", -1), new DevExpress.XtraEditors.Controls.ImageComboBoxItem("鏁板��", "3", -1), new DevExpress.XtraEditors.Controls.ImageComboBoxItem("鏂囨湰", "4", -1), new DevExpress.XtraEditors.Controls.ImageComboBoxItem("澶氭枃鏈�", "5", -1), new DevExpress.XtraEditors.Controls.ImageComboBoxItem("鏃堕棿", "6", -1), new DevExpress.XtraEditors.Controls.ImageComboBoxItem("甯冨皵鍊�", "7", -1) });
+            TextEditFormat.Size = new Size(431, 20);
+            TextEditFormat.StyleController = layoutControl1;
+            TextEditFormat.TabIndex = 3;
             // 
             // Root
             // 
@@ -181,7 +161,7 @@
             Root.AppearanceItemCaption.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Far;
             Root.EnableIndentsWithoutBorders = DevExpress.Utils.DefaultBoolean.True;
             Root.GroupBordersVisible = false;
-            Root.Items.AddRange(new DevExpress.XtraLayout.BaseLayoutItem[] { layoutControlItem3, layoutControlItem5, layoutControlItem1, layoutControlItem6, emptySpaceItem1, layoutControlItem4, layoutControlItem2, layoutControlItem7, layoutControlItem8, layoutControlItem9 });
+            Root.Items.AddRange(new DevExpress.XtraLayout.BaseLayoutItem[] { layoutControlItem3, layoutControlItem5, layoutControlItem1, layoutControlItem6, layoutControlItem4, layoutControlItem2, layoutControlItem7, layoutControlItem8, layoutControlItem9, emptySpaceItem2 });
             Root.Name = "Root";
             Root.Padding = new DevExpress.XtraLayout.Utils.Padding(6, 6, 6, 6);
             Root.Size = new Size(511, 275);
@@ -213,32 +193,6 @@
             layoutControlItem1.Size = new Size(499, 24);
             layoutControlItem1.Text = "鍚嶇О:";
             layoutControlItem1.TextSize = new Size(52, 14);
-            // 
-            // layoutControlItem6
-            // 
-            layoutControlItem6.Control = btnCancel;
-            layoutControlItem6.Location = new Point(422, 237);
-            layoutControlItem6.Name = "layoutControlItem6";
-            layoutControlItem6.Size = new Size(77, 26);
-            layoutControlItem6.TextSize = new Size(0, 0);
-            layoutControlItem6.TextVisible = false;
-            // 
-            // emptySpaceItem1
-            // 
-            emptySpaceItem1.AllowHotTrack = false;
-            emptySpaceItem1.Location = new Point(0, 237);
-            emptySpaceItem1.Name = "emptySpaceItem1";
-            emptySpaceItem1.Size = new Size(348, 26);
-            emptySpaceItem1.TextSize = new Size(0, 0);
-            // 
-            // layoutControlItem4
-            // 
-            layoutControlItem4.Control = BtnOk;
-            layoutControlItem4.Location = new Point(348, 237);
-            layoutControlItem4.Name = "layoutControlItem4";
-            layoutControlItem4.Size = new Size(74, 26);
-            layoutControlItem4.TextSize = new Size(0, 0);
-            layoutControlItem4.TextVisible = false;
             // 
             // layoutControlItem2
             // 
@@ -280,13 +234,71 @@
             // 
             dxErrorProvider1.ContainerControl = this;
             // 
-            // AddPropDlg
+            // layoutControlItem6
+            // 
+            layoutControlItem6.Control = btnCancel;
+            layoutControlItem6.Location = new Point(422, 237);
+            layoutControlItem6.Name = "layoutControlItem6";
+            layoutControlItem6.Size = new Size(77, 26);
+            layoutControlItem6.TextSize = new Size(0, 0);
+            layoutControlItem6.TextVisible = false;
+            // 
+            // btnCancel
+            // 
+            btnCancel.Appearance.BackColor = DevExpress.LookAndFeel.DXSkinColors.FillColors.Danger;
+            btnCancel.Appearance.Options.UseBackColor = true;
+            btnCancel.DialogResult = DialogResult.Cancel;
+            btnCancel.Location = new Point(430, 245);
+            btnCancel.Name = "btnCancel";
+            btnCancel.Size = new Size(73, 22);
+            btnCancel.StyleController = layoutControl1;
+            btnCancel.TabIndex = 9;
+            btnCancel.Text = "鍙栨秷";
+            // 
+            // layoutControlItem4
+            // 
+            layoutControlItem4.Control = BtnOk;
+            layoutControlItem4.Location = new Point(352, 237);
+            layoutControlItem4.Name = "layoutControlItem4";
+            layoutControlItem4.Size = new Size(70, 26);
+            layoutControlItem4.TextSize = new Size(0, 0);
+            layoutControlItem4.TextVisible = false;
+            // 
+            // BtnOk
+            // 
+            BtnOk.Appearance.BackColor = DevExpress.LookAndFeel.DXSkinColors.FillColors.Primary;
+            BtnOk.Appearance.Options.UseBackColor = true;
+            BtnOk.Location = new Point(360, 245);
+            BtnOk.Name = "BtnOk";
+            BtnOk.Size = new Size(66, 22);
+            BtnOk.StyleController = layoutControl1;
+            BtnOk.TabIndex = 8;
+            BtnOk.Text = "瀹屾垚";
+            BtnOk.Click += BtnOk_ClickAsync;
+            // 
+            // emptySpaceItem1
+            // 
+            emptySpaceItem1.AllowHotTrack = false;
+            emptySpaceItem1.Location = new Point(0, 237);
+            emptySpaceItem1.Name = "emptySpaceItem1";
+            emptySpaceItem1.Size = new Size(348, 26);
+            emptySpaceItem1.TextSize = new Size(0, 0);
+            // 
+            // emptySpaceItem2
+            // 
+            emptySpaceItem2.AllowHotTrack = false;
+            emptySpaceItem2.Location = new Point(0, 237);
+            emptySpaceItem2.Name = "emptySpaceItem2";
+            emptySpaceItem2.Size = new Size(352, 26);
+            emptySpaceItem2.TextSize = new Size(0, 0);
+            // 
+            // AddSysPropDlg
             // 
             AutoScaleDimensions = new SizeF(7F, 14F);
             AutoScaleMode = AutoScaleMode.Font;
             ClientSize = new Size(511, 275);
             Controls.Add(layoutControl1);
-            Name = "AddPropDlg";
+            Name = "AddSysPropDlg";
             StartPosition = FormStartPosition.CenterScreen;
             Text = "娣诲姞灞炴��";
             ((System.ComponentModel.ISupportInitialize)layoutControl1).EndInit();
@@ -294,22 +306,23 @@
             ((System.ComponentModel.ISupportInitialize)TextEditCode.Properties).EndInit();
             ((System.ComponentModel.ISupportInitialize)TextEditName.Properties).EndInit();
             ((System.ComponentModel.ISupportInitialize)TextEditDescription.Properties).EndInit();
-            ((System.ComponentModel.ISupportInitialize)TextEditFormat.Properties).EndInit();
             ((System.ComponentModel.ISupportInitialize)TextEditUnitName.Properties).EndInit();
             ((System.ComponentModel.ISupportInitialize)TextEditDefaultValue.Properties).EndInit();
             ((System.ComponentModel.ISupportInitialize)CheckEditIsNull.Properties).EndInit();
+            ((System.ComponentModel.ISupportInitialize)TextEditFormat.Properties).EndInit();
             ((System.ComponentModel.ISupportInitialize)Root).EndInit();
             ((System.ComponentModel.ISupportInitialize)layoutControlItem3).EndInit();
             ((System.ComponentModel.ISupportInitialize)layoutControlItem5).EndInit();
             ((System.ComponentModel.ISupportInitialize)layoutControlItem1).EndInit();
-            ((System.ComponentModel.ISupportInitialize)layoutControlItem6).EndInit();
-            ((System.ComponentModel.ISupportInitialize)emptySpaceItem1).EndInit();
-            ((System.ComponentModel.ISupportInitialize)layoutControlItem4).EndInit();
             ((System.ComponentModel.ISupportInitialize)layoutControlItem2).EndInit();
             ((System.ComponentModel.ISupportInitialize)layoutControlItem7).EndInit();
             ((System.ComponentModel.ISupportInitialize)layoutControlItem8).EndInit();
             ((System.ComponentModel.ISupportInitialize)layoutControlItem9).EndInit();
             ((System.ComponentModel.ISupportInitialize)dxErrorProvider1).EndInit();
+            ((System.ComponentModel.ISupportInitialize)layoutControlItem6).EndInit();
+            ((System.ComponentModel.ISupportInitialize)layoutControlItem4).EndInit();
+            ((System.ComponentModel.ISupportInitialize)emptySpaceItem1).EndInit();
+            ((System.ComponentModel.ISupportInitialize)emptySpaceItem2).EndInit();
             ResumeLayout(false);
         }
 
@@ -324,12 +337,6 @@
         private DevExpress.XtraLayout.LayoutControlItem layoutControlItem5;
         private DevExpress.XtraEditors.MemoEdit TextEditDescription;
         private DevExpress.XtraEditors.DXErrorProvider.DXErrorProvider dxErrorProvider1;
-        private DevExpress.XtraEditors.SimpleButton BtnOk;
-        private DevExpress.XtraEditors.SimpleButton btnCancel;
-        private DevExpress.XtraLayout.LayoutControlItem layoutControlItem6;
-        private DevExpress.XtraLayout.EmptySpaceItem emptySpaceItem1;
-        private DevExpress.XtraLayout.LayoutControlItem layoutControlItem4;
-        private DevExpress.XtraEditors.TextEdit TextEditFormat;
         private DevExpress.XtraLayout.LayoutControlItem layoutControlItem2;
         private DevExpress.XtraEditors.TextEdit TextEditUnitName;
         private DevExpress.XtraEditors.TextEdit TextEditDefaultValue;
@@ -337,5 +344,12 @@
         private DevExpress.XtraLayout.LayoutControlItem layoutControlItem7;
         private DevExpress.XtraLayout.LayoutControlItem layoutControlItem8;
         private DevExpress.XtraLayout.LayoutControlItem layoutControlItem9;
+        private DevExpress.XtraEditors.ImageComboBoxEdit TextEditFormat;
+        private DevExpress.XtraEditors.SimpleButton BtnOk;
+        private DevExpress.XtraEditors.SimpleButton btnCancel;
+        private DevExpress.XtraLayout.LayoutControlItem layoutControlItem6;
+        private DevExpress.XtraLayout.LayoutControlItem layoutControlItem4;
+        private DevExpress.XtraLayout.EmptySpaceItem emptySpaceItem2;
+        private DevExpress.XtraLayout.EmptySpaceItem emptySpaceItem1;
     }
 }
\ No newline at end of file

--
Gitblit v1.9.3