| | |
| | | /// </summary> |
| | | private void InitializeComponent() |
| | | { |
| | | components = new Container(); |
| | | layoutControl1 = new DevExpress.XtraLayout.LayoutControl(); |
| | | generalOkAndCancelCtrl1 = new GeneralOkAndCancelCtrl(); |
| | | txtCoefficient = new DevExpress.XtraEditors.TextEdit(); |
| | | txtDemand = new DevExpress.XtraEditors.TextEdit(); |
| | | txtMinorLoss = new DevExpress.XtraEditors.TextEdit(); |
| | |
| | | layoutControlItem4 = new DevExpress.XtraLayout.LayoutControlItem(); |
| | | layoutControlItem9 = new DevExpress.XtraLayout.LayoutControlItem(); |
| | | layoutControlItem5 = new DevExpress.XtraLayout.LayoutControlItem(); |
| | | dxErrorProvider1 = new DevExpress.XtraEditors.DXErrorProvider.DXErrorProvider(components); |
| | | generalOkAndCancelCtrl1 = new GeneralOkAndCancelCtrl(); |
| | | layoutControlItem2 = new DevExpress.XtraLayout.LayoutControlItem(); |
| | | ((ISupportInitialize)layoutControl1).BeginInit(); |
| | | layoutControl1.SuspendLayout(); |
| | |
| | | ((ISupportInitialize)layoutControlItem4).BeginInit(); |
| | | ((ISupportInitialize)layoutControlItem9).BeginInit(); |
| | | ((ISupportInitialize)layoutControlItem5).BeginInit(); |
| | | ((ISupportInitialize)dxErrorProvider1).BeginInit(); |
| | | ((ISupportInitialize)layoutControlItem2).BeginInit(); |
| | | SuspendLayout(); |
| | | // |
| | |
| | | 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, 60); |
| | | generalOkAndCancelCtrl1.Name = "generalOkAndCancelCtrl1"; |
| | | generalOkAndCancelCtrl1.Size = new Size(406, 29); |
| | | generalOkAndCancelCtrl1.TabIndex = 5; |
| | | // |
| | | // txtCoefficient |
| | | // |
| | | txtCoefficient.Location = new Point(280, 12); |
| | | txtCoefficient.Name = "txtCoefficient"; |
| | | txtCoefficient.Properties.AllowNullInput = DevExpress.Utils.DefaultBoolean.True; |
| | | txtCoefficient.Properties.MaskSettings.Set("MaskManagerType", typeof(DevExpress.Data.Mask.NumericMaskManager)); |
| | | txtCoefficient.Properties.MaskSettings.Set("MaskManagerSignature", "allowNull=False"); |
| | | txtCoefficient.Size = new Size(138, 20); |
| | |
| | | // |
| | | txtDemand.Location = new Point(281, 36); |
| | | txtDemand.Name = "txtDemand"; |
| | | txtDemand.Properties.AllowNullInput = DevExpress.Utils.DefaultBoolean.True; |
| | | txtDemand.Properties.DisplayFormat.FormatString = "{0}m³/h"; |
| | | txtDemand.Properties.DisplayFormat.FormatType = DevExpress.Utils.FormatType.Custom; |
| | | txtDemand.Properties.MaskSettings.Set("MaskManagerType", typeof(DevExpress.Data.Mask.NumericMaskManager)); |
| | |
| | | // |
| | | txtMinorLoss.Location = new Point(76, 36); |
| | | txtMinorLoss.Name = "txtMinorLoss"; |
| | | txtMinorLoss.Properties.AllowNullInput = DevExpress.Utils.DefaultBoolean.True; |
| | | txtMinorLoss.Properties.MaskSettings.Set("MaskManagerType", typeof(DevExpress.Data.Mask.NumericMaskManager)); |
| | | txtMinorLoss.Size = new Size(137, 20); |
| | | txtMinorLoss.StyleController = layoutControl1; |
| | |
| | | // |
| | | txtElev.Location = new Point(76, 12); |
| | | txtElev.Name = "txtElev"; |
| | | txtElev.Properties.AllowNullInput = DevExpress.Utils.DefaultBoolean.False; |
| | | txtElev.Properties.DisplayFormat.FormatString = "{0}m"; |
| | | txtElev.Properties.DisplayFormat.FormatType = DevExpress.Utils.FormatType.Custom; |
| | | txtElev.Properties.MaskSettings.Set("MaskManagerType", typeof(DevExpress.Data.Mask.NumericMaskManager)); |
| | |
| | | layoutControlItem5.Text = "需水量:"; |
| | | layoutControlItem5.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, 60); |
| | | generalOkAndCancelCtrl1.Name = "generalOkAndCancelCtrl1"; |
| | | generalOkAndCancelCtrl1.Size = new Size(406, 29); |
| | | generalOkAndCancelCtrl1.TabIndex = 5; |
| | | // |
| | | // layoutControlItem2 |
| | | // |
| | | layoutControlItem2.Control = generalOkAndCancelCtrl1; |
| | |
| | | ((ISupportInitialize)layoutControlItem4).EndInit(); |
| | | ((ISupportInitialize)layoutControlItem9).EndInit(); |
| | | ((ISupportInitialize)layoutControlItem5).EndInit(); |
| | | ((ISupportInitialize)dxErrorProvider1).EndInit(); |
| | | ((ISupportInitialize)layoutControlItem2).EndInit(); |
| | | ResumeLayout(false); |
| | | } |
| | |
| | | private DevExpress.XtraEditors.TextEdit txtElev; |
| | | private DevExpress.XtraLayout.LayoutControlGroup Root; |
| | | private DevExpress.XtraLayout.LayoutControlItem layoutControlItem1; |
| | | private DevExpress.XtraEditors.DXErrorProvider.DXErrorProvider dxErrorProvider1; |
| | | private DevExpress.XtraEditors.TextEdit txtDemand; |
| | | private DevExpress.XtraEditors.TextEdit txtMinorLoss; |
| | | private DevExpress.XtraLayout.LayoutControlItem layoutControlItem4; |