| | |
| | | /// </summary> |
| | | private void InitializeComponent() |
| | | { |
| | | components = new Container(); |
| | | layoutControl1 = new DevExpress.XtraLayout.LayoutControl(); |
| | | txtCurrentFlow = new DevExpress.XtraEditors.TextEdit(); |
| | | generalOkAndCancelCtrl1 = new GeneralOkAndCancelCtrl(); |
| | | txtMinorLoss = new DevExpress.XtraEditors.TextEdit(); |
| | | txtElev = new DevExpress.XtraEditors.TextEdit(); |
| | | Root = new DevExpress.XtraLayout.LayoutControlGroup(); |
| | | layoutControlItem1 = new DevExpress.XtraLayout.LayoutControlItem(); |
| | | layoutControlItem4 = new DevExpress.XtraLayout.LayoutControlItem(); |
| | | layoutControlItem9 = new DevExpress.XtraLayout.LayoutControlItem(); |
| | | emptySpaceItem2 = new DevExpress.XtraLayout.EmptySpaceItem(); |
| | | dxErrorProvider1 = new DevExpress.XtraEditors.DXErrorProvider.DXErrorProvider(components); |
| | | generalOkAndCancelCtrl1 = new GeneralOkAndCancelCtrl(); |
| | | layoutControlItem2 = new DevExpress.XtraLayout.LayoutControlItem(); |
| | | ((ISupportInitialize)layoutControl1).BeginInit(); |
| | | layoutControl1.SuspendLayout(); |
| | | ((ISupportInitialize)txtCurrentFlow.Properties).BeginInit(); |
| | | ((ISupportInitialize)txtMinorLoss.Properties).BeginInit(); |
| | | ((ISupportInitialize)txtElev.Properties).BeginInit(); |
| | | ((ISupportInitialize)Root).BeginInit(); |
| | | ((ISupportInitialize)layoutControlItem1).BeginInit(); |
| | | ((ISupportInitialize)layoutControlItem4).BeginInit(); |
| | | ((ISupportInitialize)layoutControlItem9).BeginInit(); |
| | | ((ISupportInitialize)emptySpaceItem2).BeginInit(); |
| | | ((ISupportInitialize)dxErrorProvider1).BeginInit(); |
| | | ((ISupportInitialize)layoutControlItem2).BeginInit(); |
| | | SuspendLayout(); |
| | | // |
| | | // layoutControl1 |
| | | // |
| | | layoutControl1.Controls.Add(generalOkAndCancelCtrl1); |
| | | layoutControl1.Controls.Add(txtCurrentFlow); |
| | | layoutControl1.Controls.Add(txtMinorLoss); |
| | | layoutControl1.Controls.Add(txtElev); |
| | | layoutControl1.Dock = DockStyle.Fill; |
| | |
| | | layoutControl1.Name = "layoutControl1"; |
| | | layoutControl1.OptionsCustomizationForm.DesignTimeCustomizationFormPositionAndSize = new Rectangle(670, 266, 650, 400); |
| | | layoutControl1.Root = Root; |
| | | layoutControl1.Size = new Size(424, 104); |
| | | layoutControl1.Size = new Size(424, 75); |
| | | layoutControl1.TabIndex = 1; |
| | | layoutControl1.Text = "layoutControl1"; |
| | | // |
| | | // txtCurrentFlow |
| | | // generalOkAndCancelCtrl1 |
| | | // |
| | | txtCurrentFlow.Location = new Point(76, 36); |
| | | txtCurrentFlow.Name = "txtCurrentFlow"; |
| | | txtCurrentFlow.Properties.AllowNullInput = DevExpress.Utils.DefaultBoolean.False; |
| | | txtCurrentFlow.Properties.DisplayFormat.FormatString = "{0}m³/h"; |
| | | txtCurrentFlow.Properties.DisplayFormat.FormatType = DevExpress.Utils.FormatType.Custom; |
| | | txtCurrentFlow.Properties.MaskSettings.Set("MaskManagerType", typeof(DevExpress.Data.Mask.NumericMaskManager)); |
| | | txtCurrentFlow.Properties.MaskSettings.Set("MaskManagerSignature", "allowNull=False"); |
| | | txtCurrentFlow.Properties.NullValuePrompt = "m³/h"; |
| | | txtCurrentFlow.Size = new Size(133, 20); |
| | | txtCurrentFlow.StyleController = layoutControl1; |
| | | txtCurrentFlow.TabIndex = 4; |
| | | 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, 36); |
| | | generalOkAndCancelCtrl1.Name = "generalOkAndCancelCtrl1"; |
| | | generalOkAndCancelCtrl1.Size = new Size(400, 27); |
| | | generalOkAndCancelCtrl1.TabIndex = 5; |
| | | // |
| | | // txtMinorLoss |
| | | // |
| | |
| | | Root.AppearanceItemCaption.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Far; |
| | | Root.EnableIndentsWithoutBorders = DevExpress.Utils.DefaultBoolean.True; |
| | | Root.GroupBordersVisible = false; |
| | | Root.Items.AddRange(new DevExpress.XtraLayout.BaseLayoutItem[] { layoutControlItem1, layoutControlItem4, layoutControlItem9, emptySpaceItem2, layoutControlItem2 }); |
| | | Root.Items.AddRange(new DevExpress.XtraLayout.BaseLayoutItem[] { layoutControlItem1, layoutControlItem4, layoutControlItem2 }); |
| | | Root.Name = "Root"; |
| | | Root.Size = new Size(424, 104); |
| | | Root.Size = new Size(424, 75); |
| | | Root.TextVisible = false; |
| | | // |
| | | // layoutControlItem1 |
| | |
| | | layoutControlItem4.Text = "局阻系数:"; |
| | | layoutControlItem4.TextSize = new Size(52, 14); |
| | | // |
| | | // layoutControlItem9 |
| | | // |
| | | layoutControlItem9.Control = txtCurrentFlow; |
| | | layoutControlItem9.Location = new Point(0, 24); |
| | | layoutControlItem9.Name = "layoutControlItem9"; |
| | | layoutControlItem9.Size = new Size(201, 24); |
| | | layoutControlItem9.Text = "流量:"; |
| | | layoutControlItem9.TextSize = new Size(52, 14); |
| | | // |
| | | // emptySpaceItem2 |
| | | // |
| | | emptySpaceItem2.AllowHotTrack = false; |
| | | emptySpaceItem2.Location = new Point(201, 24); |
| | | emptySpaceItem2.Name = "emptySpaceItem2"; |
| | | emptySpaceItem2.Size = new Size(203, 24); |
| | | emptySpaceItem2.TextSize = new Size(0, 0); |
| | | // |
| | | // 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(400, 32); |
| | | generalOkAndCancelCtrl1.TabIndex = 5; |
| | | // |
| | | // layoutControlItem2 |
| | | // |
| | | layoutControlItem2.Control = generalOkAndCancelCtrl1; |
| | | layoutControlItem2.Location = new Point(0, 48); |
| | | layoutControlItem2.Location = new Point(0, 24); |
| | | layoutControlItem2.Name = "layoutControlItem2"; |
| | | layoutControlItem2.Size = new Size(404, 36); |
| | | layoutControlItem2.Size = new Size(404, 31); |
| | | layoutControlItem2.TextSize = new Size(0, 0); |
| | | layoutControlItem2.TextVisible = false; |
| | | // |
| | |
| | | // |
| | | AutoScaleDimensions = new SizeF(7F, 14F); |
| | | AutoScaleMode = AutoScaleMode.Font; |
| | | ClientSize = new Size(424, 104); |
| | | ClientSize = new Size(424, 75); |
| | | Controls.Add(layoutControl1); |
| | | MaximizeBox = false; |
| | | Name = "SetHydroFlowmeterDlg"; |
| | |
| | | Text = "设置"; |
| | | ((ISupportInitialize)layoutControl1).EndInit(); |
| | | layoutControl1.ResumeLayout(false); |
| | | ((ISupportInitialize)txtCurrentFlow.Properties).EndInit(); |
| | | ((ISupportInitialize)txtMinorLoss.Properties).EndInit(); |
| | | ((ISupportInitialize)txtElev.Properties).EndInit(); |
| | | ((ISupportInitialize)Root).EndInit(); |
| | | ((ISupportInitialize)layoutControlItem1).EndInit(); |
| | | ((ISupportInitialize)layoutControlItem4).EndInit(); |
| | | ((ISupportInitialize)layoutControlItem9).EndInit(); |
| | | ((ISupportInitialize)emptySpaceItem2).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 txtMinorLoss; |
| | | private DevExpress.XtraLayout.LayoutControlItem layoutControlItem4; |
| | | private DevExpress.XtraLayout.LayoutControlItem layoutControlItem6; |
| | | private DevExpress.XtraLayout.LayoutControlItem layoutControlItem7; |
| | | private DevExpress.XtraLayout.LayoutControlItem layoutControlItem8; |
| | | private DevExpress.XtraEditors.TextEdit txtCurrentFlow; |
| | | private DevExpress.XtraLayout.LayoutControlItem layoutControlItem9; |
| | | private DevExpress.XtraLayout.EmptySpaceItem emptySpaceItem2; |
| | | private GeneralOkAndCancelCtrl generalOkAndCancelCtrl1; |
| | | private DevExpress.XtraLayout.LayoutControlItem layoutControlItem2; |
| | | } |