| | |
| | | DevExpress.XtraLayout.RowDefinition rowDefinition2 = new DevExpress.XtraLayout.RowDefinition(); |
| | | DevExpress.XtraLayout.RowDefinition rowDefinition3 = new DevExpress.XtraLayout.RowDefinition(); |
| | | layoutControl1 = new DevExpress.XtraLayout.LayoutControl(); |
| | | txtCoefficient = new DevExpress.XtraEditors.TextEdit(); |
| | | txtMinorLoss = new DevExpress.XtraEditors.TextEdit(); |
| | | txtDemand = new DevExpress.XtraEditors.TextEdit(); |
| | | txtElev = new DevExpress.XtraEditors.TextEdit(); |
| | | Root = new DevExpress.XtraLayout.LayoutControlGroup(); |
| | | textEdit1 = new DevExpress.XtraEditors.TextEdit(); |
| | | layoutControlItem1 = new DevExpress.XtraLayout.LayoutControlItem(); |
| | | textEdit2 = new DevExpress.XtraEditors.TextEdit(); |
| | | layoutControlItem2 = new DevExpress.XtraLayout.LayoutControlItem(); |
| | | textEdit3 = new DevExpress.XtraEditors.TextEdit(); |
| | | layoutControlItem3 = new DevExpress.XtraLayout.LayoutControlItem(); |
| | | textEdit4 = new DevExpress.XtraEditors.TextEdit(); |
| | | layoutControlItem4 = new DevExpress.XtraLayout.LayoutControlItem(); |
| | | layoutGroupCaption = new DevExpress.XtraLayout.LayoutControlGroup(); |
| | | layoutControlItem1 = new DevExpress.XtraLayout.LayoutControlItem(); |
| | | layoutControlItem2 = new DevExpress.XtraLayout.LayoutControlItem(); |
| | | layoutControlItem4 = new DevExpress.XtraLayout.LayoutControlItem(); |
| | | layoutControlItem3 = new DevExpress.XtraLayout.LayoutControlItem(); |
| | | ((ISupportInitialize)layoutControl1).BeginInit(); |
| | | layoutControl1.SuspendLayout(); |
| | | ((ISupportInitialize)txtCoefficient.Properties).BeginInit(); |
| | | ((ISupportInitialize)txtMinorLoss.Properties).BeginInit(); |
| | | ((ISupportInitialize)txtDemand.Properties).BeginInit(); |
| | | ((ISupportInitialize)txtElev.Properties).BeginInit(); |
| | | ((ISupportInitialize)Root).BeginInit(); |
| | | ((ISupportInitialize)textEdit1.Properties).BeginInit(); |
| | | ((ISupportInitialize)layoutControlItem1).BeginInit(); |
| | | ((ISupportInitialize)textEdit2.Properties).BeginInit(); |
| | | ((ISupportInitialize)layoutControlItem2).BeginInit(); |
| | | ((ISupportInitialize)textEdit3.Properties).BeginInit(); |
| | | ((ISupportInitialize)layoutControlItem3).BeginInit(); |
| | | ((ISupportInitialize)textEdit4.Properties).BeginInit(); |
| | | ((ISupportInitialize)layoutControlItem4).BeginInit(); |
| | | ((ISupportInitialize)layoutGroupCaption).BeginInit(); |
| | | ((ISupportInitialize)layoutControlItem1).BeginInit(); |
| | | ((ISupportInitialize)layoutControlItem2).BeginInit(); |
| | | ((ISupportInitialize)layoutControlItem4).BeginInit(); |
| | | ((ISupportInitialize)layoutControlItem3).BeginInit(); |
| | | SuspendLayout(); |
| | | // |
| | | // layoutControl1 |
| | | // |
| | | layoutControl1.Controls.Add(textEdit4); |
| | | layoutControl1.Controls.Add(textEdit3); |
| | | layoutControl1.Controls.Add(textEdit2); |
| | | layoutControl1.Controls.Add(textEdit1); |
| | | layoutControl1.Controls.Add(txtCoefficient); |
| | | layoutControl1.Controls.Add(txtMinorLoss); |
| | | layoutControl1.Controls.Add(txtDemand); |
| | | layoutControl1.Controls.Add(txtElev); |
| | | layoutControl1.Dock = DockStyle.Fill; |
| | | layoutControl1.Location = new Point(0, 0); |
| | | layoutControl1.Name = "layoutControl1"; |
| | |
| | | layoutControl1.TabIndex = 0; |
| | | layoutControl1.Text = "layoutControl1"; |
| | | // |
| | | // txtCoefficient |
| | | // |
| | | txtCoefficient.Location = new Point(78, 61); |
| | | txtCoefficient.Name = "txtCoefficient"; |
| | | txtCoefficient.Properties.AllowNullInput = DevExpress.Utils.DefaultBoolean.False; |
| | | txtCoefficient.Properties.MaskSettings.Set("MaskManagerType", typeof(DevExpress.Data.Mask.NumericMaskManager)); |
| | | txtCoefficient.Properties.MaskSettings.Set("MaskManagerSignature", "allowNull=False"); |
| | | txtCoefficient.Size = new Size(127, 20); |
| | | txtCoefficient.StyleController = layoutControl1; |
| | | txtCoefficient.TabIndex = 7; |
| | | // |
| | | // txtMinorLoss |
| | | // |
| | | txtMinorLoss.Location = new Point(273, 61); |
| | | txtMinorLoss.Name = "txtMinorLoss"; |
| | | txtMinorLoss.Properties.MaskSettings.Set("MaskManagerType", typeof(DevExpress.Data.Mask.NumericMaskManager)); |
| | | txtMinorLoss.Properties.MaskSettings.Set("MaskManagerSignature", "allowNull=False"); |
| | | txtMinorLoss.Size = new Size(127, 20); |
| | | txtMinorLoss.StyleController = layoutControl1; |
| | | txtMinorLoss.TabIndex = 6; |
| | | // |
| | | // txtDemand |
| | | // |
| | | txtDemand.Location = new Point(273, 37); |
| | | txtDemand.Name = "txtDemand"; |
| | | 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)); |
| | | txtDemand.Properties.MaskSettings.Set("MaskManagerSignature", "allowNull=False"); |
| | | txtDemand.Properties.NullValuePrompt = "m³/h"; |
| | | txtDemand.Size = new Size(127, 20); |
| | | txtDemand.StyleController = layoutControl1; |
| | | txtDemand.TabIndex = 5; |
| | | // |
| | | // txtElev |
| | | // |
| | | txtElev.Location = new Point(78, 37); |
| | | 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)); |
| | | txtElev.Properties.MaskSettings.Set("MaskManagerSignature", "allowNull=False"); |
| | | txtElev.Properties.NullValuePrompt = "m"; |
| | | txtElev.Size = new Size(127, 20); |
| | | txtElev.StyleController = layoutControl1; |
| | | txtElev.TabIndex = 4; |
| | | // |
| | | // Root |
| | | // |
| | | Root.AppearanceItemCaption.Options.UseTextOptions = true; |
| | | Root.AppearanceItemCaption.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Far; |
| | | Root.EnableIndentsWithoutBorders = DevExpress.Utils.DefaultBoolean.True; |
| | | Root.GroupBordersVisible = false; |
| | | Root.Items.AddRange(new DevExpress.XtraLayout.BaseLayoutItem[] { layoutGroupCaption }); |
| | |
| | | Root.Padding = new DevExpress.XtraLayout.Utils.Padding(0, 0, 0, 0); |
| | | Root.Size = new Size(414, 97); |
| | | Root.TextVisible = false; |
| | | // |
| | | // textEdit1 |
| | | // |
| | | textEdit1.Location = new Point(78, 37); |
| | | textEdit1.Name = "textEdit1"; |
| | | textEdit1.Size = new Size(127, 20); |
| | | textEdit1.StyleController = layoutControl1; |
| | | textEdit1.TabIndex = 4; |
| | | // |
| | | // layoutControlItem1 |
| | | // |
| | | layoutControlItem1.Control = textEdit1; |
| | | layoutControlItem1.Location = new Point(0, 0); |
| | | layoutControlItem1.Name = "layoutControlItem1"; |
| | | layoutControlItem1.Size = new Size(195, 24); |
| | | layoutControlItem1.Text = "标高:"; |
| | | layoutControlItem1.TextSize = new Size(52, 14); |
| | | // |
| | | // textEdit2 |
| | | // |
| | | textEdit2.Location = new Point(273, 37); |
| | | textEdit2.Name = "textEdit2"; |
| | | textEdit2.Size = new Size(127, 20); |
| | | textEdit2.StyleController = layoutControl1; |
| | | textEdit2.TabIndex = 5; |
| | | // |
| | | // layoutControlItem2 |
| | | // |
| | | layoutControlItem2.Control = textEdit2; |
| | | layoutControlItem2.Location = new Point(195, 0); |
| | | layoutControlItem2.Name = "layoutControlItem2"; |
| | | layoutControlItem2.OptionsTableLayoutItem.ColumnIndex = 1; |
| | | layoutControlItem2.Size = new Size(195, 24); |
| | | layoutControlItem2.Text = "需水量:"; |
| | | layoutControlItem2.TextSize = new Size(52, 14); |
| | | // |
| | | // textEdit3 |
| | | // |
| | | textEdit3.Location = new Point(273, 61); |
| | | textEdit3.Name = "textEdit3"; |
| | | textEdit3.Size = new Size(127, 20); |
| | | textEdit3.StyleController = layoutControl1; |
| | | textEdit3.TabIndex = 6; |
| | | // |
| | | // layoutControlItem3 |
| | | // |
| | | layoutControlItem3.Control = textEdit3; |
| | | layoutControlItem3.Location = new Point(195, 24); |
| | | layoutControlItem3.Name = "layoutControlItem3"; |
| | | layoutControlItem3.OptionsTableLayoutItem.ColumnIndex = 1; |
| | | layoutControlItem3.OptionsTableLayoutItem.RowIndex = 1; |
| | | layoutControlItem3.Size = new Size(195, 24); |
| | | layoutControlItem3.Text = "损失系数:"; |
| | | layoutControlItem3.TextSize = new Size(52, 14); |
| | | // |
| | | // textEdit4 |
| | | // |
| | | textEdit4.Location = new Point(78, 61); |
| | | textEdit4.Name = "textEdit4"; |
| | | textEdit4.Size = new Size(127, 20); |
| | | textEdit4.StyleController = layoutControl1; |
| | | textEdit4.TabIndex = 7; |
| | | // |
| | | // layoutControlItem4 |
| | | // |
| | | layoutControlItem4.Control = textEdit4; |
| | | layoutControlItem4.Location = new Point(0, 24); |
| | | layoutControlItem4.Name = "layoutControlItem4"; |
| | | layoutControlItem4.OptionsTableLayoutItem.RowIndex = 1; |
| | | layoutControlItem4.Size = new Size(195, 24); |
| | | layoutControlItem4.Text = "喷射系数:"; |
| | | layoutControlItem4.TextSize = new Size(52, 14); |
| | | // |
| | | // layoutGroupCaption |
| | | // |
| | |
| | | layoutGroupCaption.OptionsTableLayoutGroup.RowDefinitions.AddRange(new DevExpress.XtraLayout.RowDefinition[] { rowDefinition1, rowDefinition2, rowDefinition3 }); |
| | | layoutGroupCaption.Size = new Size(414, 97); |
| | | layoutGroupCaption.Text = "喷嘴"; |
| | | layoutGroupCaption.CustomButtonClick += layoutGroupCaption_CustomButtonClick; |
| | | // |
| | | // layoutControlItem1 |
| | | // |
| | | layoutControlItem1.Control = txtElev; |
| | | layoutControlItem1.Location = new Point(0, 0); |
| | | layoutControlItem1.Name = "layoutControlItem1"; |
| | | layoutControlItem1.Size = new Size(195, 24); |
| | | layoutControlItem1.Text = "标高:"; |
| | | layoutControlItem1.TextSize = new Size(52, 14); |
| | | // |
| | | // layoutControlItem2 |
| | | // |
| | | layoutControlItem2.Control = txtDemand; |
| | | layoutControlItem2.Location = new Point(195, 0); |
| | | layoutControlItem2.Name = "layoutControlItem2"; |
| | | layoutControlItem2.OptionsTableLayoutItem.ColumnIndex = 1; |
| | | layoutControlItem2.Size = new Size(195, 24); |
| | | layoutControlItem2.Text = "需水量:"; |
| | | layoutControlItem2.TextSize = new Size(52, 14); |
| | | // |
| | | // layoutControlItem4 |
| | | // |
| | | layoutControlItem4.Control = txtCoefficient; |
| | | layoutControlItem4.Location = new Point(0, 24); |
| | | layoutControlItem4.Name = "layoutControlItem4"; |
| | | layoutControlItem4.OptionsTableLayoutItem.RowIndex = 1; |
| | | layoutControlItem4.Size = new Size(195, 24); |
| | | layoutControlItem4.Text = "喷射系数:"; |
| | | layoutControlItem4.TextSize = new Size(52, 14); |
| | | // |
| | | // layoutControlItem3 |
| | | // |
| | | layoutControlItem3.Control = txtMinorLoss; |
| | | layoutControlItem3.Location = new Point(195, 24); |
| | | layoutControlItem3.Name = "layoutControlItem3"; |
| | | layoutControlItem3.OptionsTableLayoutItem.ColumnIndex = 1; |
| | | layoutControlItem3.OptionsTableLayoutItem.RowIndex = 1; |
| | | layoutControlItem3.Size = new Size(195, 24); |
| | | layoutControlItem3.Text = "损失系数:"; |
| | | layoutControlItem3.TextSize = new Size(52, 14); |
| | | // |
| | | // SetNozzleCalcuPrefixCtrl |
| | | // |
| | |
| | | Size = new Size(414, 97); |
| | | ((ISupportInitialize)layoutControl1).EndInit(); |
| | | layoutControl1.ResumeLayout(false); |
| | | ((ISupportInitialize)txtCoefficient.Properties).EndInit(); |
| | | ((ISupportInitialize)txtMinorLoss.Properties).EndInit(); |
| | | ((ISupportInitialize)txtDemand.Properties).EndInit(); |
| | | ((ISupportInitialize)txtElev.Properties).EndInit(); |
| | | ((ISupportInitialize)Root).EndInit(); |
| | | ((ISupportInitialize)textEdit1.Properties).EndInit(); |
| | | ((ISupportInitialize)layoutControlItem1).EndInit(); |
| | | ((ISupportInitialize)textEdit2.Properties).EndInit(); |
| | | ((ISupportInitialize)layoutControlItem2).EndInit(); |
| | | ((ISupportInitialize)textEdit3.Properties).EndInit(); |
| | | ((ISupportInitialize)layoutControlItem3).EndInit(); |
| | | ((ISupportInitialize)textEdit4.Properties).EndInit(); |
| | | ((ISupportInitialize)layoutControlItem4).EndInit(); |
| | | ((ISupportInitialize)layoutGroupCaption).EndInit(); |
| | | ((ISupportInitialize)layoutControlItem1).EndInit(); |
| | | ((ISupportInitialize)layoutControlItem2).EndInit(); |
| | | ((ISupportInitialize)layoutControlItem4).EndInit(); |
| | | ((ISupportInitialize)layoutControlItem3).EndInit(); |
| | | ResumeLayout(false); |
| | | } |
| | | |
| | |
| | | |
| | | private DevExpress.XtraLayout.LayoutControl layoutControl1; |
| | | private DevExpress.XtraLayout.LayoutControlGroup Root; |
| | | private DevExpress.XtraEditors.TextEdit textEdit4; |
| | | private DevExpress.XtraEditors.TextEdit textEdit3; |
| | | private DevExpress.XtraEditors.TextEdit textEdit2; |
| | | private DevExpress.XtraEditors.TextEdit textEdit1; |
| | | private DevExpress.XtraEditors.TextEdit txtCoefficient; |
| | | private DevExpress.XtraEditors.TextEdit txtMinorLoss; |
| | | private DevExpress.XtraEditors.TextEdit txtDemand; |
| | | private DevExpress.XtraEditors.TextEdit txtElev; |
| | | private DevExpress.XtraLayout.LayoutControlGroup layoutGroupCaption; |
| | | private DevExpress.XtraLayout.LayoutControlItem layoutControlItem1; |
| | | private DevExpress.XtraLayout.LayoutControlItem layoutControlItem2; |