| | |
| | | /// </summary> |
| | | private void InitializeComponent() |
| | | { |
| | | components = new Container(); |
| | | layoutControl1 = new DevExpress.XtraLayout.LayoutControl(); |
| | | ckOverFlow = new DevExpress.XtraEditors.CheckEdit(); |
| | | generalOkAndCancelCtrl1 = new GeneralOkAndCancelCtrl(); |
| | | txtDN = new DevExpress.XtraEditors.TextEdit(); |
| | | txtMaxLevel = new DevExpress.XtraEditors.TextEdit(); |
| | | txtMinLevel = new DevExpress.XtraEditors.TextEdit(); |
| | |
| | | layoutControlItem7 = new DevExpress.XtraLayout.LayoutControlItem(); |
| | | layoutControlItem4 = new DevExpress.XtraLayout.LayoutControlItem(); |
| | | layoutControlItem6 = new DevExpress.XtraLayout.LayoutControlItem(); |
| | | layoutControlItem8 = new DevExpress.XtraLayout.LayoutControlItem(); |
| | | dxErrorProvider1 = new DevExpress.XtraEditors.DXErrorProvider.DXErrorProvider(components); |
| | | generalOkAndCancelCtrl1 = new GeneralOkAndCancelCtrl(); |
| | | layoutControlItem9 = new DevExpress.XtraLayout.LayoutControlItem(); |
| | | txtMinVol = new DevExpress.XtraEditors.TextEdit(); |
| | | layoutControlItem2 = new DevExpress.XtraLayout.LayoutControlItem(); |
| | | ((ISupportInitialize)layoutControl1).BeginInit(); |
| | | layoutControl1.SuspendLayout(); |
| | | ((ISupportInitialize)ckOverFlow.Properties).BeginInit(); |
| | | ((ISupportInitialize)txtDN.Properties).BeginInit(); |
| | | ((ISupportInitialize)txtMaxLevel.Properties).BeginInit(); |
| | | ((ISupportInitialize)txtMinLevel.Properties).BeginInit(); |
| | |
| | | ((ISupportInitialize)layoutControlItem7).BeginInit(); |
| | | ((ISupportInitialize)layoutControlItem4).BeginInit(); |
| | | ((ISupportInitialize)layoutControlItem6).BeginInit(); |
| | | ((ISupportInitialize)layoutControlItem8).BeginInit(); |
| | | ((ISupportInitialize)dxErrorProvider1).BeginInit(); |
| | | ((ISupportInitialize)layoutControlItem9).BeginInit(); |
| | | ((ISupportInitialize)txtMinVol.Properties).BeginInit(); |
| | | ((ISupportInitialize)layoutControlItem2).BeginInit(); |
| | | SuspendLayout(); |
| | | // |
| | | // layoutControl1 |
| | | // |
| | | layoutControl1.Controls.Add(txtMinVol); |
| | | layoutControl1.Controls.Add(generalOkAndCancelCtrl1); |
| | | layoutControl1.Controls.Add(ckOverFlow); |
| | | layoutControl1.Controls.Add(txtDN); |
| | | layoutControl1.Controls.Add(txtMaxLevel); |
| | | layoutControl1.Controls.Add(txtMinLevel); |
| | |
| | | layoutControl1.TabIndex = 1; |
| | | layoutControl1.Text = "layoutControl1"; |
| | | // |
| | | // ckOverFlow |
| | | // generalOkAndCancelCtrl1 |
| | | // |
| | | ckOverFlow.Location = new Point(275, 60); |
| | | ckOverFlow.Name = "ckOverFlow"; |
| | | ckOverFlow.Properties.AutoWidth = true; |
| | | ckOverFlow.Properties.Caption = ""; |
| | | ckOverFlow.Size = new Size(20, 20); |
| | | ckOverFlow.StyleController = layoutControl1; |
| | | ckOverFlow.TabIndex = 6; |
| | | 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(395, 29); |
| | | generalOkAndCancelCtrl1.TabIndex = 7; |
| | | // |
| | | // txtDN |
| | | // |
| | | txtDN.Location = new Point(76, 60); |
| | | txtDN.Name = "txtDN"; |
| | | txtDN.Properties.AllowNullInput = DevExpress.Utils.DefaultBoolean.False; |
| | | txtDN.Properties.AllowNullInput = DevExpress.Utils.DefaultBoolean.True; |
| | | txtDN.Properties.DisplayFormat.FormatString = "{0}m"; |
| | | txtDN.Properties.DisplayFormat.FormatType = DevExpress.Utils.FormatType.Custom; |
| | | txtDN.Properties.MaskSettings.Set("MaskManagerType", typeof(DevExpress.Data.Mask.NumericMaskManager)); |
| | |
| | | // |
| | | txtMaxLevel.Location = new Point(275, 36); |
| | | txtMaxLevel.Name = "txtMaxLevel"; |
| | | txtMaxLevel.Properties.AllowNullInput = DevExpress.Utils.DefaultBoolean.False; |
| | | txtMaxLevel.Properties.AllowNullInput = DevExpress.Utils.DefaultBoolean.True; |
| | | txtMaxLevel.Properties.DisplayFormat.FormatString = "{0}m"; |
| | | txtMaxLevel.Properties.DisplayFormat.FormatType = DevExpress.Utils.FormatType.Custom; |
| | | txtMaxLevel.Properties.MaskSettings.Set("MaskManagerType", typeof(DevExpress.Data.Mask.NumericMaskManager)); |
| | |
| | | // |
| | | txtMinLevel.Location = new Point(76, 36); |
| | | txtMinLevel.Name = "txtMinLevel"; |
| | | txtMinLevel.Properties.AllowNullInput = DevExpress.Utils.DefaultBoolean.False; |
| | | txtMinLevel.Properties.AllowNullInput = DevExpress.Utils.DefaultBoolean.True; |
| | | txtMinLevel.Properties.DisplayFormat.FormatString = "{0}m"; |
| | | txtMinLevel.Properties.DisplayFormat.FormatType = DevExpress.Utils.FormatType.Custom; |
| | | txtMinLevel.Properties.MaskSettings.Set("MaskManagerType", typeof(DevExpress.Data.Mask.NumericMaskManager)); |
| | |
| | | // |
| | | txtInitLevel.Location = new Point(275, 12); |
| | | txtInitLevel.Name = "txtInitLevel"; |
| | | txtInitLevel.Properties.AllowNullInput = DevExpress.Utils.DefaultBoolean.False; |
| | | txtInitLevel.Properties.AllowNullInput = DevExpress.Utils.DefaultBoolean.True; |
| | | txtInitLevel.Properties.DisplayFormat.FormatString = "{0}m"; |
| | | txtInitLevel.Properties.DisplayFormat.FormatType = DevExpress.Utils.FormatType.Custom; |
| | | txtInitLevel.Properties.MaskSettings.Set("MaskManagerType", typeof(DevExpress.Data.Mask.NumericMaskManager)); |
| | |
| | | // |
| | | txtPoolElev.Location = new Point(76, 12); |
| | | txtPoolElev.Name = "txtPoolElev"; |
| | | txtPoolElev.Properties.AllowNullInput = DevExpress.Utils.DefaultBoolean.False; |
| | | txtPoolElev.Properties.AllowNullInput = DevExpress.Utils.DefaultBoolean.True; |
| | | txtPoolElev.Properties.DisplayFormat.FormatString = "{0}m"; |
| | | txtPoolElev.Properties.DisplayFormat.FormatType = DevExpress.Utils.FormatType.Custom; |
| | | txtPoolElev.Properties.MaskSettings.Set("MaskManagerType", typeof(DevExpress.Data.Mask.NumericMaskManager)); |
| | |
| | | // |
| | | Root.EnableIndentsWithoutBorders = DevExpress.Utils.DefaultBoolean.True; |
| | | Root.GroupBordersVisible = false; |
| | | Root.Items.AddRange(new DevExpress.XtraLayout.BaseLayoutItem[] { layoutControlItem1, layoutControlItem5, layoutControlItem7, layoutControlItem4, layoutControlItem6, layoutControlItem8, layoutControlItem9 }); |
| | | Root.Items.AddRange(new DevExpress.XtraLayout.BaseLayoutItem[] { layoutControlItem1, layoutControlItem5, layoutControlItem7, layoutControlItem4, layoutControlItem6, layoutControlItem9, layoutControlItem2 }); |
| | | Root.Name = "Root"; |
| | | Root.Size = new Size(419, 125); |
| | | Root.TextVisible = false; |
| | |
| | | layoutControlItem6.Text = "最高水位:"; |
| | | layoutControlItem6.TextSize = new Size(52, 14); |
| | | // |
| | | // layoutControlItem8 |
| | | // |
| | | layoutControlItem8.Control = ckOverFlow; |
| | | layoutControlItem8.Location = new Point(199, 48); |
| | | layoutControlItem8.Name = "layoutControlItem8"; |
| | | layoutControlItem8.Size = new Size(200, 24); |
| | | layoutControlItem8.Text = "允许溢流:"; |
| | | layoutControlItem8.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(395, 29); |
| | | generalOkAndCancelCtrl1.TabIndex = 7; |
| | | // |
| | | // layoutControlItem9 |
| | | // |
| | | layoutControlItem9.Control = generalOkAndCancelCtrl1; |
| | |
| | | layoutControlItem9.Size = new Size(399, 33); |
| | | layoutControlItem9.TextSize = new Size(0, 0); |
| | | layoutControlItem9.TextVisible = false; |
| | | // |
| | | // txtMinVol |
| | | // |
| | | txtMinVol.Location = new Point(275, 60); |
| | | txtMinVol.Name = "txtMinVol"; |
| | | txtMinVol.Properties.AllowNullInput = DevExpress.Utils.DefaultBoolean.True; |
| | | txtMinVol.Properties.DisplayFormat.FormatString = "{0}m³"; |
| | | txtMinVol.Properties.DisplayFormat.FormatType = DevExpress.Utils.FormatType.Custom; |
| | | txtMinVol.Properties.MaskSettings.Set("MaskManagerType", typeof(DevExpress.Data.Mask.NumericMaskManager)); |
| | | txtMinVol.Properties.MaskSettings.Set("MaskManagerSignature", "allowNull=False"); |
| | | txtMinVol.Size = new Size(132, 20); |
| | | txtMinVol.StyleController = layoutControl1; |
| | | txtMinVol.TabIndex = 6; |
| | | // |
| | | // layoutControlItem2 |
| | | // |
| | | layoutControlItem2.Control = txtMinVol; |
| | | layoutControlItem2.Location = new Point(199, 48); |
| | | layoutControlItem2.Name = "layoutControlItem2"; |
| | | layoutControlItem2.Size = new Size(200, 24); |
| | | layoutControlItem2.Text = "最小容积:"; |
| | | layoutControlItem2.TextSize = new Size(52, 14); |
| | | // |
| | | // SetHydroWaterboxDlg |
| | | // |
| | |
| | | Text = "设置"; |
| | | ((ISupportInitialize)layoutControl1).EndInit(); |
| | | layoutControl1.ResumeLayout(false); |
| | | ((ISupportInitialize)ckOverFlow.Properties).EndInit(); |
| | | ((ISupportInitialize)txtDN.Properties).EndInit(); |
| | | ((ISupportInitialize)txtMaxLevel.Properties).EndInit(); |
| | | ((ISupportInitialize)txtMinLevel.Properties).EndInit(); |
| | |
| | | ((ISupportInitialize)layoutControlItem7).EndInit(); |
| | | ((ISupportInitialize)layoutControlItem4).EndInit(); |
| | | ((ISupportInitialize)layoutControlItem6).EndInit(); |
| | | ((ISupportInitialize)layoutControlItem8).EndInit(); |
| | | ((ISupportInitialize)dxErrorProvider1).EndInit(); |
| | | ((ISupportInitialize)layoutControlItem9).EndInit(); |
| | | ((ISupportInitialize)txtMinVol.Properties).EndInit(); |
| | | ((ISupportInitialize)layoutControlItem2).EndInit(); |
| | | ResumeLayout(false); |
| | | } |
| | | |
| | |
| | | private DevExpress.XtraEditors.TextEdit txtPoolElev; |
| | | private DevExpress.XtraLayout.LayoutControlGroup Root; |
| | | private DevExpress.XtraLayout.LayoutControlItem layoutControlItem1; |
| | | private DevExpress.XtraEditors.DXErrorProvider.DXErrorProvider dxErrorProvider1; |
| | | private DevExpress.XtraEditors.TextEdit txtMaxLevel; |
| | | private DevExpress.XtraEditors.TextEdit txtMinLevel; |
| | | private DevExpress.XtraEditors.TextEdit txtInitLevel; |
| | | private DevExpress.XtraLayout.LayoutControlItem layoutControlItem4; |
| | | private DevExpress.XtraLayout.LayoutControlItem layoutControlItem5; |
| | | private DevExpress.XtraLayout.LayoutControlItem layoutControlItem6; |
| | | private DevExpress.XtraEditors.CheckEdit ckOverFlow; |
| | | private DevExpress.XtraEditors.TextEdit txtDN; |
| | | private DevExpress.XtraLayout.LayoutControlItem layoutControlItem7; |
| | | private DevExpress.XtraLayout.LayoutControlItem layoutControlItem8; |
| | | private GeneralOkAndCancelCtrl generalOkAndCancelCtrl1; |
| | | private DevExpress.XtraLayout.LayoutControlItem layoutControlItem9; |
| | | private DevExpress.XtraEditors.TextEdit txtMinVol; |
| | | private DevExpress.XtraLayout.LayoutControlItem layoutControlItem2; |
| | | } |
| | | } |