| | |
| | | layoutControl1.Name = "layoutControl1"; |
| | | layoutControl1.OptionsCustomizationForm.DesignTimeCustomizationFormPositionAndSize = new Rectangle(1126, 544, 975, 600); |
| | | layoutControl1.Root = Root; |
| | | layoutControl1.Size = new Size(504, 891); |
| | | layoutControl1.Size = new Size(560, 891); |
| | | layoutControl1.TabIndex = 0; |
| | | layoutControl1.Text = "layoutControl1"; |
| | | // |
| | | // gridControl1 |
| | | // |
| | | gridControl1.DataSource = pumpSerialParallelInfoViewModelBindingSource; |
| | | gridControl1.Location = new Point(0, 154); |
| | | gridControl1.Location = new Point(0, 126); |
| | | gridControl1.MainView = gridView1; |
| | | gridControl1.Name = "gridControl1"; |
| | | gridControl1.RepositoryItems.AddRange(new DevExpress.XtraEditors.Repository.RepositoryItem[] { repColor }); |
| | | gridControl1.Size = new Size(504, 737); |
| | | gridControl1.Size = new Size(560, 765); |
| | | gridControl1.TabIndex = 4; |
| | | gridControl1.ViewCollection.AddRange(new DevExpress.XtraGrid.Views.Base.BaseView[] { gridView1 }); |
| | | // |
| | |
| | | txtDesignQ.Location = new Point(68, 47); |
| | | txtDesignQ.Name = "txtDesignQ"; |
| | | txtDesignQ.Properties.MaskSettings.Set("MaskManagerType", typeof(DevExpress.Data.Mask.NumericMaskManager)); |
| | | txtDesignQ.Size = new Size(240, 28); |
| | | txtDesignQ.Size = new Size(111, 28); |
| | | txtDesignQ.StyleController = layoutControl1; |
| | | txtDesignQ.TabIndex = 0; |
| | | // |
| | | // txtDesignH |
| | | // |
| | | txtDesignH.Location = new Point(68, 79); |
| | | txtDesignH.Location = new Point(283, 47); |
| | | txtDesignH.Name = "txtDesignH"; |
| | | txtDesignH.Properties.MaskSettings.Set("MaskManagerType", typeof(DevExpress.Data.Mask.NumericMaskManager)); |
| | | txtDesignH.Size = new Size(240, 28); |
| | | txtDesignH.Size = new Size(91, 28); |
| | | txtDesignH.StyleController = layoutControl1; |
| | | txtDesignH.TabIndex = 3; |
| | | // |
| | |
| | | btnSetDesignPoint.Appearance.BackColor = Color.White; |
| | | btnSetDesignPoint.Appearance.Options.UseBackColor = true; |
| | | btnSetDesignPoint.Appearance.Options.UseTextOptions = true; |
| | | btnSetDesignPoint.Appearance.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Near; |
| | | btnSetDesignPoint.Appearance.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center; |
| | | btnSetDesignPoint.ImageOptions.SvgImage = (DevExpress.Utils.Svg.SvgImage)resources.GetObject("btnSetDesignPoint.ImageOptions.SvgImage"); |
| | | btnSetDesignPoint.ImageOptions.SvgImageSize = new Size(24, 24); |
| | | btnSetDesignPoint.Location = new Point(368, 47); |
| | | btnSetDesignPoint.ImageOptions.SvgImageSize = new Size(20, 20); |
| | | btnSetDesignPoint.Location = new Point(424, 47); |
| | | btnSetDesignPoint.Name = "btnSetDesignPoint"; |
| | | btnSetDesignPoint.Size = new Size(122, 60); |
| | | btnSetDesignPoint.Size = new Size(122, 32); |
| | | btnSetDesignPoint.StyleController = layoutControl1; |
| | | btnSetDesignPoint.TabIndex = 2; |
| | | btnSetDesignPoint.Text = "设置"; |
| | |
| | | Root.Items.AddRange(new DevExpress.XtraLayout.BaseLayoutItem[] { layoutControlGroup1, layoutControlGroup2 }); |
| | | Root.Name = "Root"; |
| | | Root.Padding = new DevExpress.XtraLayout.Utils.Padding(0, 0, 0, 0); |
| | | Root.Size = new Size(504, 891); |
| | | Root.Size = new Size(560, 891); |
| | | Root.TextVisible = false; |
| | | // |
| | | // layoutControlGroup1 |
| | | // |
| | | layoutControlGroup1.GroupStyle = DevExpress.Utils.GroupStyle.Title; |
| | | layoutControlGroup1.Items.AddRange(new DevExpress.XtraLayout.BaseLayoutItem[] { layoutControlItem1 }); |
| | | layoutControlGroup1.Location = new Point(0, 121); |
| | | layoutControlGroup1.Location = new Point(0, 93); |
| | | layoutControlGroup1.Name = "layoutControlGroup1"; |
| | | layoutControlGroup1.Padding = new DevExpress.XtraLayout.Utils.Padding(0, 0, 0, 0); |
| | | layoutControlGroup1.Size = new Size(504, 770); |
| | | layoutControlGroup1.Size = new Size(560, 798); |
| | | layoutControlGroup1.Spacing = new DevExpress.XtraLayout.Utils.Padding(0, 0, 0, 0); |
| | | layoutControlGroup1.Text = "曲线列表"; |
| | | // |
| | |
| | | layoutControlItem1.Location = new Point(0, 0); |
| | | layoutControlItem1.Name = "layoutControlItem1"; |
| | | layoutControlItem1.Padding = new DevExpress.XtraLayout.Utils.Padding(0, 0, 0, 0); |
| | | layoutControlItem1.Size = new Size(504, 737); |
| | | layoutControlItem1.Size = new Size(560, 765); |
| | | layoutControlItem1.Text = "曲线列表"; |
| | | layoutControlItem1.TextSize = new Size(0, 0); |
| | | layoutControlItem1.TextVisible = false; |
| | |
| | | // layoutControlGroup2 |
| | | // |
| | | layoutControlGroup2.GroupStyle = DevExpress.Utils.GroupStyle.Title; |
| | | layoutControlGroup2.Items.AddRange(new DevExpress.XtraLayout.BaseLayoutItem[] { layoutControlItem2, simpleLabelItem1, layoutControlItem3, simpleLabelItem2, layoutControlItem4 }); |
| | | layoutControlGroup2.Items.AddRange(new DevExpress.XtraLayout.BaseLayoutItem[] { layoutControlItem2, layoutControlItem4, layoutControlItem3, simpleLabelItem1, simpleLabelItem2 }); |
| | | layoutControlGroup2.Location = new Point(0, 0); |
| | | layoutControlGroup2.Name = "layoutControlGroup2"; |
| | | layoutControlGroup2.Size = new Size(504, 121); |
| | | layoutControlGroup2.Size = new Size(560, 93); |
| | | layoutControlGroup2.Text = "设计点"; |
| | | // |
| | | // layoutControlItem2 |
| | |
| | | layoutControlItem2.Control = txtDesignQ; |
| | | layoutControlItem2.Location = new Point(0, 0); |
| | | layoutControlItem2.Name = "layoutControlItem2"; |
| | | layoutControlItem2.Size = new Size(298, 32); |
| | | layoutControlItem2.Size = new Size(169, 36); |
| | | layoutControlItem2.Text = "流量:"; |
| | | layoutControlItem2.TextSize = new Size(42, 22); |
| | | // |
| | | // simpleLabelItem1 |
| | | // |
| | | simpleLabelItem1.AllowHotTrack = false; |
| | | simpleLabelItem1.Location = new Point(298, 0); |
| | | simpleLabelItem1.Location = new Point(169, 0); |
| | | simpleLabelItem1.Name = "simpleLabelItem1"; |
| | | simpleLabelItem1.Size = new Size(56, 32); |
| | | simpleLabelItem1.Size = new Size(46, 36); |
| | | simpleLabelItem1.Text = "m³/h"; |
| | | simpleLabelItem1.TextSize = new Size(42, 22); |
| | | // |
| | | // layoutControlItem3 |
| | | // |
| | | layoutControlItem3.Control = txtDesignH; |
| | | layoutControlItem3.Location = new Point(0, 32); |
| | | layoutControlItem3.Location = new Point(215, 0); |
| | | layoutControlItem3.Name = "layoutControlItem3"; |
| | | layoutControlItem3.Size = new Size(298, 32); |
| | | layoutControlItem3.Size = new Size(149, 36); |
| | | layoutControlItem3.Text = "扬程:"; |
| | | layoutControlItem3.TextSize = new Size(42, 22); |
| | | // |
| | | // simpleLabelItem2 |
| | | // |
| | | simpleLabelItem2.AllowHotTrack = false; |
| | | simpleLabelItem2.Location = new Point(298, 32); |
| | | simpleLabelItem2.Location = new Point(364, 0); |
| | | simpleLabelItem2.Name = "simpleLabelItem2"; |
| | | simpleLabelItem2.Size = new Size(56, 32); |
| | | simpleLabelItem2.Size = new Size(46, 36); |
| | | simpleLabelItem2.Text = "m"; |
| | | simpleLabelItem2.TextSize = new Size(42, 22); |
| | | // |
| | | // layoutControlItem4 |
| | | // |
| | | layoutControlItem4.Control = btnSetDesignPoint; |
| | | layoutControlItem4.Location = new Point(354, 0); |
| | | layoutControlItem4.Location = new Point(410, 0); |
| | | layoutControlItem4.MinSize = new Size(126, 36); |
| | | layoutControlItem4.Name = "layoutControlItem4"; |
| | | layoutControlItem4.Size = new Size(126, 64); |
| | | layoutControlItem4.Size = new Size(126, 36); |
| | | layoutControlItem4.SizeConstraintsType = DevExpress.XtraLayout.SizeConstraintsType.Custom; |
| | | layoutControlItem4.TextSize = new Size(0, 0); |
| | | layoutControlItem4.TextVisible = false; |
| | |
| | | AutoScaleMode = AutoScaleMode.Font; |
| | | Controls.Add(layoutControl1); |
| | | Name = "PumpSerialParallelInfoCtrl"; |
| | | Size = new Size(504, 891); |
| | | Size = new Size(560, 891); |
| | | ((System.ComponentModel.ISupportInitialize)layoutControl1).EndInit(); |
| | | layoutControl1.ResumeLayout(false); |
| | | ((System.ComponentModel.ISupportInitialize)gridControl1).EndInit(); |