From d60d42b1ac40fa619dbe21b5692cbd07d772a0b1 Mon Sep 17 00:00:00 2001 From: lixiaojun <1287241240@qq.com> Date: 星期三, 11 十二月 2024 21:58:41 +0800 Subject: [PATCH] 修复水泵批量修改设置 --- WinFrmUI/Yw.WinFrmUI.Hydro.Core/06-visual/16-pump/SetHydroPumpDlg.Designer.cs | 38 +++++++++++++++----------------------- 1 files changed, 15 insertions(+), 23 deletions(-) diff --git a/WinFrmUI/Yw.WinFrmUI.Hydro.Core/06-visual/16-pump/SetHydroPumpDlg.Designer.cs b/WinFrmUI/Yw.WinFrmUI.Hydro.Core/06-visual/16-pump/SetHydroPumpDlg.Designer.cs index 7bab656..66b5a6c 100644 --- a/WinFrmUI/Yw.WinFrmUI.Hydro.Core/06-visual/16-pump/SetHydroPumpDlg.Designer.cs +++ b/WinFrmUI/Yw.WinFrmUI.Hydro.Core/06-visual/16-pump/SetHydroPumpDlg.Designer.cs @@ -28,8 +28,8 @@ /// </summary> private void InitializeComponent() { - components = new Container(); layoutControl1 = new DevExpress.XtraLayout.LayoutControl(); + generalOkAndCancelCtrl1 = new GeneralOkAndCancelCtrl(); txtRatedN = new DevExpress.XtraEditors.TextEdit(); txtRatedP = new DevExpress.XtraEditors.TextEdit(); txtRatedH = new DevExpress.XtraEditors.TextEdit(); @@ -43,8 +43,6 @@ layoutControlItem5 = new DevExpress.XtraLayout.LayoutControlItem(); layoutControlItem6 = new DevExpress.XtraLayout.LayoutControlItem(); layoutControlItem7 = new DevExpress.XtraLayout.LayoutControlItem(); - dxErrorProvider1 = new DevExpress.XtraEditors.DXErrorProvider.DXErrorProvider(components); - generalOkAndCancelCtrl1 = new GeneralOkAndCancelCtrl(); layoutControlItem2 = new DevExpress.XtraLayout.LayoutControlItem(); ((ISupportInitialize)layoutControl1).BeginInit(); layoutControl1.SuspendLayout(); @@ -61,7 +59,6 @@ ((ISupportInitialize)layoutControlItem5).BeginInit(); ((ISupportInitialize)layoutControlItem6).BeginInit(); ((ISupportInitialize)layoutControlItem7).BeginInit(); - ((ISupportInitialize)dxErrorProvider1).BeginInit(); ((ISupportInitialize)layoutControlItem2).BeginInit(); SuspendLayout(); // @@ -83,6 +80,17 @@ 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(441, 29); + generalOkAndCancelCtrl1.TabIndex = 9; + // // txtRatedN // txtRatedN.Location = new Point(298, 60); @@ -101,7 +109,7 @@ // txtRatedP.Location = new Point(76, 60); txtRatedP.Name = "txtRatedP"; - txtRatedP.Properties.AllowNullInput = DevExpress.Utils.DefaultBoolean.False; + txtRatedP.Properties.AllowNullInput = DevExpress.Utils.DefaultBoolean.True; txtRatedP.Properties.DisplayFormat.FormatString = "{0}kW"; txtRatedP.Properties.DisplayFormat.FormatType = DevExpress.Utils.FormatType.Custom; txtRatedP.Properties.MaskSettings.Set("MaskManagerType", typeof(DevExpress.Data.Mask.NumericMaskManager)); @@ -143,7 +151,7 @@ // txtCurrentHz.Location = new Point(298, 12); txtCurrentHz.Name = "txtCurrentHz"; - txtCurrentHz.Properties.AllowNullInput = DevExpress.Utils.DefaultBoolean.False; + txtCurrentHz.Properties.AllowNullInput = DevExpress.Utils.DefaultBoolean.True; txtCurrentHz.Properties.DisplayFormat.FormatString = "{0}hz"; txtCurrentHz.Properties.DisplayFormat.FormatType = DevExpress.Utils.FormatType.Custom; txtCurrentHz.Properties.MaskSettings.Set("MaskManagerType", typeof(DevExpress.Data.Mask.NumericMaskManager)); @@ -157,6 +165,7 @@ // imgCmbLinkStatus.Location = new Point(76, 12); imgCmbLinkStatus.Name = "imgCmbLinkStatus"; + imgCmbLinkStatus.Properties.AllowNullInput = DevExpress.Utils.DefaultBoolean.True; imgCmbLinkStatus.Properties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] { new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo) }); imgCmbLinkStatus.Size = new Size(154, 20); imgCmbLinkStatus.StyleController = layoutControl1; @@ -227,21 +236,6 @@ layoutControlItem7.Text = "棰濆畾杞��:"; layoutControlItem7.TextSize = new Size(52, 14); // - // dxErrorProvider1 - // - dxErrorProvider1.ContainerControl = this; - // - // 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(441, 29); - generalOkAndCancelCtrl1.TabIndex = 9; - // // layoutControlItem2 // layoutControlItem2.Control = generalOkAndCancelCtrl1; @@ -276,7 +270,6 @@ ((ISupportInitialize)layoutControlItem5).EndInit(); ((ISupportInitialize)layoutControlItem6).EndInit(); ((ISupportInitialize)layoutControlItem7).EndInit(); - ((ISupportInitialize)dxErrorProvider1).EndInit(); ((ISupportInitialize)layoutControlItem2).EndInit(); ResumeLayout(false); } @@ -285,7 +278,6 @@ private DevExpress.XtraLayout.LayoutControl layoutControl1; private DevExpress.XtraLayout.LayoutControlGroup Root; - private DevExpress.XtraEditors.DXErrorProvider.DXErrorProvider dxErrorProvider1; private DevExpress.XtraLayout.LayoutControlItem layoutControlItem6; private DevExpress.XtraLayout.LayoutControlItem layoutControlItem7; private DevExpress.XtraLayout.LayoutControlItem layoutControlItem8; -- Gitblit v1.9.3