From c9585ab171fb973d16792d7a290994bf8279da63 Mon Sep 17 00:00:00 2001
From: lixiaojun <1287241240@qq.com>
Date: 星期六, 09 十一月 2024 09:56:41 +0800
Subject: [PATCH] 属性视图调整

---
 WinFrmUI/Yw.WinFrmUI.Hydro.Core/06-visual/02-tank/SetHydroTankDlg.Designer.cs |  147 ++++++++++++++++--------------------------------
 1 files changed, 50 insertions(+), 97 deletions(-)

diff --git a/WinFrmUI/Yw.WinFrmUI.Hydro.Core/06-parter/02-tank/SetHydroTankDlg.Designer.cs b/WinFrmUI/Yw.WinFrmUI.Hydro.Core/06-visual/02-tank/SetHydroTankDlg.Designer.cs
similarity index 71%
rename from WinFrmUI/Yw.WinFrmUI.Hydro.Core/06-parter/02-tank/SetHydroTankDlg.Designer.cs
rename to WinFrmUI/Yw.WinFrmUI.Hydro.Core/06-visual/02-tank/SetHydroTankDlg.Designer.cs
index 5686d9c..cf04735 100644
--- a/WinFrmUI/Yw.WinFrmUI.Hydro.Core/06-parter/02-tank/SetHydroTankDlg.Designer.cs
+++ b/WinFrmUI/Yw.WinFrmUI.Hydro.Core/06-visual/02-tank/SetHydroTankDlg.Designer.cs
@@ -30,24 +30,21 @@
         {
             components = new Container();
             layoutControl1 = new DevExpress.XtraLayout.LayoutControl();
+            generalOkAndCancelCtrl1 = new GeneralOkAndCancelCtrl();
             ckOverFlow = new DevExpress.XtraEditors.CheckEdit();
             txtDN = new DevExpress.XtraEditors.TextEdit();
             txtMaxLevel = new DevExpress.XtraEditors.TextEdit();
             txtMinLevel = new DevExpress.XtraEditors.TextEdit();
             txtInitLevel = new DevExpress.XtraEditors.TextEdit();
             txtPoolElev = new DevExpress.XtraEditors.TextEdit();
-            btnOk = new DevExpress.XtraEditors.SimpleButton();
-            btnCancel = new DevExpress.XtraEditors.SimpleButton();
             Root = new DevExpress.XtraLayout.LayoutControlGroup();
-            layoutControlItem2 = new DevExpress.XtraLayout.LayoutControlItem();
-            layoutControlItem3 = new DevExpress.XtraLayout.LayoutControlItem();
-            emptySpaceItem1 = new DevExpress.XtraLayout.EmptySpaceItem();
             layoutControlItem1 = new DevExpress.XtraLayout.LayoutControlItem();
             layoutControlItem5 = new DevExpress.XtraLayout.LayoutControlItem();
             layoutControlItem7 = new DevExpress.XtraLayout.LayoutControlItem();
             layoutControlItem4 = new DevExpress.XtraLayout.LayoutControlItem();
             layoutControlItem6 = new DevExpress.XtraLayout.LayoutControlItem();
             layoutControlItem8 = new DevExpress.XtraLayout.LayoutControlItem();
+            layoutControlItem9 = new DevExpress.XtraLayout.LayoutControlItem();
             dxErrorProvider1 = new DevExpress.XtraEditors.DXErrorProvider.DXErrorProvider(components);
             ((ISupportInitialize)layoutControl1).BeginInit();
             layoutControl1.SuspendLayout();
@@ -58,40 +55,48 @@
             ((ISupportInitialize)txtInitLevel.Properties).BeginInit();
             ((ISupportInitialize)txtPoolElev.Properties).BeginInit();
             ((ISupportInitialize)Root).BeginInit();
-            ((ISupportInitialize)layoutControlItem2).BeginInit();
-            ((ISupportInitialize)layoutControlItem3).BeginInit();
-            ((ISupportInitialize)emptySpaceItem1).BeginInit();
             ((ISupportInitialize)layoutControlItem1).BeginInit();
             ((ISupportInitialize)layoutControlItem5).BeginInit();
             ((ISupportInitialize)layoutControlItem7).BeginInit();
             ((ISupportInitialize)layoutControlItem4).BeginInit();
             ((ISupportInitialize)layoutControlItem6).BeginInit();
             ((ISupportInitialize)layoutControlItem8).BeginInit();
+            ((ISupportInitialize)layoutControlItem9).BeginInit();
             ((ISupportInitialize)dxErrorProvider1).BeginInit();
             SuspendLayout();
             // 
             // layoutControl1
             // 
+            layoutControl1.Controls.Add(generalOkAndCancelCtrl1);
             layoutControl1.Controls.Add(ckOverFlow);
             layoutControl1.Controls.Add(txtDN);
             layoutControl1.Controls.Add(txtMaxLevel);
             layoutControl1.Controls.Add(txtMinLevel);
             layoutControl1.Controls.Add(txtInitLevel);
             layoutControl1.Controls.Add(txtPoolElev);
-            layoutControl1.Controls.Add(btnOk);
-            layoutControl1.Controls.Add(btnCancel);
             layoutControl1.Dock = DockStyle.Fill;
             layoutControl1.Location = new Point(0, 0);
             layoutControl1.Name = "layoutControl1";
             layoutControl1.OptionsCustomizationForm.DesignTimeCustomizationFormPositionAndSize = new Rectangle(670, 266, 650, 400);
             layoutControl1.Root = Root;
-            layoutControl1.Size = new Size(379, 125);
+            layoutControl1.Size = new Size(413, 127);
             layoutControl1.TabIndex = 1;
             layoutControl1.Text = "layoutControl1";
             // 
+            // generalOkAndCancelCtrl1
+            // 
+            generalOkAndCancelCtrl1.ButtonCancelMaxSize = new Size(100, 26);
+            generalOkAndCancelCtrl1.ButtonCancelMinSize = new Size(100, 26);
+            generalOkAndCancelCtrl1.ButtonOkMaxSize = new Size(100, 26);
+            generalOkAndCancelCtrl1.ButtonOkMinSize = new Size(100, 26);
+            generalOkAndCancelCtrl1.Location = new Point(12, 84);
+            generalOkAndCancelCtrl1.Name = "generalOkAndCancelCtrl1";
+            generalOkAndCancelCtrl1.Size = new Size(389, 31);
+            generalOkAndCancelCtrl1.TabIndex = 7;
+            // 
             // ckOverFlow
             // 
-            ckOverFlow.Location = new Point(255, 60);
+            ckOverFlow.Location = new Point(272, 60);
             ckOverFlow.Name = "ckOverFlow";
             ckOverFlow.Properties.AutoWidth = true;
             ckOverFlow.Properties.Caption = "";
@@ -108,20 +113,20 @@
             txtDN.Properties.DisplayFormat.FormatType = DevExpress.Utils.FormatType.Custom;
             txtDN.Properties.MaskSettings.Set("MaskManagerType", typeof(DevExpress.Data.Mask.NumericMaskManager));
             txtDN.Properties.NullValuePrompt = "m";
-            txtDN.Size = new Size(111, 20);
+            txtDN.Size = new Size(128, 20);
             txtDN.StyleController = layoutControl1;
             txtDN.TabIndex = 5;
             // 
             // txtMaxLevel
             // 
-            txtMaxLevel.Location = new Point(255, 36);
+            txtMaxLevel.Location = new Point(272, 36);
             txtMaxLevel.Name = "txtMaxLevel";
             txtMaxLevel.Properties.AllowNullInput = DevExpress.Utils.DefaultBoolean.False;
             txtMaxLevel.Properties.DisplayFormat.FormatString = "{0}m";
             txtMaxLevel.Properties.DisplayFormat.FormatType = DevExpress.Utils.FormatType.Custom;
             txtMaxLevel.Properties.MaskSettings.Set("MaskManagerType", typeof(DevExpress.Data.Mask.NumericMaskManager));
             txtMaxLevel.Properties.NullValuePrompt = "m";
-            txtMaxLevel.Size = new Size(112, 20);
+            txtMaxLevel.Size = new Size(129, 20);
             txtMaxLevel.StyleController = layoutControl1;
             txtMaxLevel.TabIndex = 4;
             // 
@@ -134,20 +139,20 @@
             txtMinLevel.Properties.DisplayFormat.FormatType = DevExpress.Utils.FormatType.Custom;
             txtMinLevel.Properties.MaskSettings.Set("MaskManagerType", typeof(DevExpress.Data.Mask.NumericMaskManager));
             txtMinLevel.Properties.NullValuePrompt = "m";
-            txtMinLevel.Size = new Size(111, 20);
+            txtMinLevel.Size = new Size(128, 20);
             txtMinLevel.StyleController = layoutControl1;
             txtMinLevel.TabIndex = 3;
             // 
             // txtInitLevel
             // 
-            txtInitLevel.Location = new Point(255, 12);
+            txtInitLevel.Location = new Point(272, 12);
             txtInitLevel.Name = "txtInitLevel";
             txtInitLevel.Properties.AllowNullInput = DevExpress.Utils.DefaultBoolean.False;
             txtInitLevel.Properties.DisplayFormat.FormatString = "{0}m";
             txtInitLevel.Properties.DisplayFormat.FormatType = DevExpress.Utils.FormatType.Custom;
             txtInitLevel.Properties.MaskSettings.Set("MaskManagerType", typeof(DevExpress.Data.Mask.NumericMaskManager));
             txtInitLevel.Properties.NullValuePrompt = "m";
-            txtInitLevel.Size = new Size(112, 20);
+            txtInitLevel.Size = new Size(129, 20);
             txtInitLevel.StyleController = layoutControl1;
             txtInitLevel.TabIndex = 2;
             // 
@@ -160,81 +165,25 @@
             txtPoolElev.Properties.DisplayFormat.FormatType = DevExpress.Utils.FormatType.Custom;
             txtPoolElev.Properties.MaskSettings.Set("MaskManagerType", typeof(DevExpress.Data.Mask.NumericMaskManager));
             txtPoolElev.Properties.NullValuePrompt = "m";
-            txtPoolElev.Size = new Size(111, 20);
+            txtPoolElev.Size = new Size(128, 20);
             txtPoolElev.StyleController = layoutControl1;
             txtPoolElev.TabIndex = 0;
-            // 
-            // btnOk
-            // 
-            btnOk.Appearance.BackColor = DevExpress.LookAndFeel.DXSkinColors.FillColors.Primary;
-            btnOk.Appearance.Options.UseBackColor = true;
-            btnOk.Location = new Point(193, 84);
-            btnOk.Name = "btnOk";
-            btnOk.Size = new Size(85, 22);
-            btnOk.StyleController = layoutControl1;
-            btnOk.TabIndex = 2;
-            btnOk.Text = "纭畾";
-            btnOk.Click += btnOk_Click;
-            // 
-            // btnCancel
-            // 
-            btnCancel.Appearance.BackColor = DevExpress.LookAndFeel.DXSkinColors.FillColors.Warning;
-            btnCancel.Appearance.Options.UseBackColor = true;
-            btnCancel.DialogResult = DialogResult.Cancel;
-            btnCancel.Location = new Point(282, 84);
-            btnCancel.Name = "btnCancel";
-            btnCancel.Size = new Size(85, 22);
-            btnCancel.StyleController = layoutControl1;
-            btnCancel.TabIndex = 3;
-            btnCancel.Text = "鍙栨秷";
             // 
             // Root
             // 
             Root.EnableIndentsWithoutBorders = DevExpress.Utils.DefaultBoolean.True;
             Root.GroupBordersVisible = false;
-            Root.Items.AddRange(new DevExpress.XtraLayout.BaseLayoutItem[] { layoutControlItem2, layoutControlItem3, emptySpaceItem1, layoutControlItem1, layoutControlItem5, layoutControlItem7, layoutControlItem4, layoutControlItem6, layoutControlItem8 });
+            Root.Items.AddRange(new DevExpress.XtraLayout.BaseLayoutItem[] { layoutControlItem1, layoutControlItem5, layoutControlItem7, layoutControlItem4, layoutControlItem6, layoutControlItem8, layoutControlItem9 });
             Root.Name = "Root";
-            Root.Size = new Size(379, 125);
+            Root.Size = new Size(413, 127);
             Root.TextVisible = false;
-            // 
-            // layoutControlItem2
-            // 
-            layoutControlItem2.Control = btnCancel;
-            layoutControlItem2.Location = new Point(270, 72);
-            layoutControlItem2.MaxSize = new Size(89, 26);
-            layoutControlItem2.MinSize = new Size(89, 26);
-            layoutControlItem2.Name = "layoutControlItem2";
-            layoutControlItem2.Size = new Size(89, 33);
-            layoutControlItem2.SizeConstraintsType = DevExpress.XtraLayout.SizeConstraintsType.Custom;
-            layoutControlItem2.TextSize = new Size(0, 0);
-            layoutControlItem2.TextVisible = false;
-            // 
-            // layoutControlItem3
-            // 
-            layoutControlItem3.Control = btnOk;
-            layoutControlItem3.Location = new Point(181, 72);
-            layoutControlItem3.MaxSize = new Size(89, 26);
-            layoutControlItem3.MinSize = new Size(89, 26);
-            layoutControlItem3.Name = "layoutControlItem3";
-            layoutControlItem3.Size = new Size(89, 33);
-            layoutControlItem3.SizeConstraintsType = DevExpress.XtraLayout.SizeConstraintsType.Custom;
-            layoutControlItem3.TextSize = new Size(0, 0);
-            layoutControlItem3.TextVisible = false;
-            // 
-            // emptySpaceItem1
-            // 
-            emptySpaceItem1.AllowHotTrack = false;
-            emptySpaceItem1.Location = new Point(0, 72);
-            emptySpaceItem1.Name = "emptySpaceItem1";
-            emptySpaceItem1.Size = new Size(181, 33);
-            emptySpaceItem1.TextSize = new Size(0, 0);
             // 
             // layoutControlItem1
             // 
             layoutControlItem1.Control = txtPoolElev;
             layoutControlItem1.Location = new Point(0, 0);
             layoutControlItem1.Name = "layoutControlItem1";
-            layoutControlItem1.Size = new Size(179, 24);
+            layoutControlItem1.Size = new Size(196, 24);
             layoutControlItem1.Text = "姹犲簳鏍囬珮:";
             layoutControlItem1.TextSize = new Size(52, 14);
             // 
@@ -243,7 +192,7 @@
             layoutControlItem5.Control = txtMinLevel;
             layoutControlItem5.Location = new Point(0, 24);
             layoutControlItem5.Name = "layoutControlItem5";
-            layoutControlItem5.Size = new Size(179, 24);
+            layoutControlItem5.Size = new Size(196, 24);
             layoutControlItem5.Text = "鏈�浣庢按浣�:";
             layoutControlItem5.TextSize = new Size(52, 14);
             // 
@@ -252,49 +201,58 @@
             layoutControlItem7.Control = txtDN;
             layoutControlItem7.Location = new Point(0, 48);
             layoutControlItem7.Name = "layoutControlItem7";
-            layoutControlItem7.Size = new Size(179, 24);
+            layoutControlItem7.Size = new Size(196, 24);
             layoutControlItem7.Text = "鍏О鐩村緞:";
             layoutControlItem7.TextSize = new Size(52, 14);
             // 
             // layoutControlItem4
             // 
             layoutControlItem4.Control = txtInitLevel;
-            layoutControlItem4.Location = new Point(179, 0);
+            layoutControlItem4.Location = new Point(196, 0);
             layoutControlItem4.Name = "layoutControlItem4";
-            layoutControlItem4.Size = new Size(180, 24);
+            layoutControlItem4.Size = new Size(197, 24);
             layoutControlItem4.Text = "鍒濆姘翠綅:";
             layoutControlItem4.TextSize = new Size(52, 14);
             // 
             // layoutControlItem6
             // 
             layoutControlItem6.Control = txtMaxLevel;
-            layoutControlItem6.Location = new Point(179, 24);
+            layoutControlItem6.Location = new Point(196, 24);
             layoutControlItem6.Name = "layoutControlItem6";
-            layoutControlItem6.Size = new Size(180, 24);
+            layoutControlItem6.Size = new Size(197, 24);
             layoutControlItem6.Text = "鏈�楂樻按浣�:";
             layoutControlItem6.TextSize = new Size(52, 14);
             // 
             // layoutControlItem8
             // 
             layoutControlItem8.Control = ckOverFlow;
-            layoutControlItem8.Location = new Point(179, 48);
+            layoutControlItem8.Location = new Point(196, 48);
             layoutControlItem8.Name = "layoutControlItem8";
-            layoutControlItem8.Size = new Size(180, 24);
+            layoutControlItem8.Size = new Size(197, 24);
             layoutControlItem8.Text = "鍏佽婧㈡祦:";
             layoutControlItem8.TextSize = new Size(52, 14);
+            // 
+            // layoutControlItem9
+            // 
+            layoutControlItem9.Control = generalOkAndCancelCtrl1;
+            layoutControlItem9.Location = new Point(0, 72);
+            layoutControlItem9.Name = "layoutControlItem9";
+            layoutControlItem9.Size = new Size(393, 35);
+            layoutControlItem9.TextSize = new Size(0, 0);
+            layoutControlItem9.TextVisible = false;
             // 
             // dxErrorProvider1
             // 
             dxErrorProvider1.ContainerControl = this;
             // 
-            // HydroTankBulkSetDlg
+            // SetHydroTankDlg
             // 
             AutoScaleDimensions = new SizeF(7F, 14F);
             AutoScaleMode = AutoScaleMode.Font;
-            ClientSize = new Size(379, 125);
+            ClientSize = new Size(413, 127);
             Controls.Add(layoutControl1);
             MaximizeBox = false;
-            Name = "HydroTankBulkSetDlg";
+            Name = "SetHydroTankDlg";
             StartPosition = FormStartPosition.CenterParent;
             Text = "璁剧疆";
             ((ISupportInitialize)layoutControl1).EndInit();
@@ -306,15 +264,13 @@
             ((ISupportInitialize)txtInitLevel.Properties).EndInit();
             ((ISupportInitialize)txtPoolElev.Properties).EndInit();
             ((ISupportInitialize)Root).EndInit();
-            ((ISupportInitialize)layoutControlItem2).EndInit();
-            ((ISupportInitialize)layoutControlItem3).EndInit();
-            ((ISupportInitialize)emptySpaceItem1).EndInit();
             ((ISupportInitialize)layoutControlItem1).EndInit();
             ((ISupportInitialize)layoutControlItem5).EndInit();
             ((ISupportInitialize)layoutControlItem7).EndInit();
             ((ISupportInitialize)layoutControlItem4).EndInit();
             ((ISupportInitialize)layoutControlItem6).EndInit();
             ((ISupportInitialize)layoutControlItem8).EndInit();
+            ((ISupportInitialize)layoutControlItem9).EndInit();
             ((ISupportInitialize)dxErrorProvider1).EndInit();
             ResumeLayout(false);
         }
@@ -323,12 +279,7 @@
 
         private DevExpress.XtraLayout.LayoutControl layoutControl1;
         private DevExpress.XtraEditors.TextEdit txtPoolElev;
-        private DevExpress.XtraEditors.SimpleButton btnOk;
-        private DevExpress.XtraEditors.SimpleButton btnCancel;
         private DevExpress.XtraLayout.LayoutControlGroup Root;
-        private DevExpress.XtraLayout.LayoutControlItem layoutControlItem2;
-        private DevExpress.XtraLayout.LayoutControlItem layoutControlItem3;
-        private DevExpress.XtraLayout.EmptySpaceItem emptySpaceItem1;
         private DevExpress.XtraLayout.LayoutControlItem layoutControlItem1;
         private DevExpress.XtraEditors.DXErrorProvider.DXErrorProvider dxErrorProvider1;
         private DevExpress.XtraEditors.TextEdit txtMaxLevel;
@@ -341,5 +292,7 @@
         private DevExpress.XtraEditors.TextEdit txtDN;
         private DevExpress.XtraLayout.LayoutControlItem layoutControlItem7;
         private DevExpress.XtraLayout.LayoutControlItem layoutControlItem8;
+        private GeneralOkAndCancelCtrl generalOkAndCancelCtrl1;
+        private DevExpress.XtraLayout.LayoutControlItem layoutControlItem9;
     }
 }
\ No newline at end of file

--
Gitblit v1.9.3