| | |
| | | { |
| | | layoutControl1 = new DevExpress.XtraLayout.LayoutControl(); |
| | | txtDescription = new DevExpress.XtraEditors.MemoEdit(); |
| | | txtMinorLoss = new DevExpress.XtraEditors.TextEdit(); |
| | | txtlFlowMinorLoss = new DevExpress.XtraEditors.TextEdit(); |
| | | txtName = new DevExpress.XtraEditors.TextEdit(); |
| | | Root = new DevExpress.XtraLayout.LayoutControlGroup(); |
| | | layoutControlItem1 = new DevExpress.XtraLayout.LayoutControlItem(); |
| | | layoutControlItem4 = new DevExpress.XtraLayout.LayoutControlItem(); |
| | | layoutControlItem6 = new DevExpress.XtraLayout.LayoutControlItem(); |
| | | txtCaliber = new DevExpress.XtraEditors.TextEdit(); |
| | | TextEditAngle = new DevExpress.XtraEditors.TextEdit(); |
| | | txtMaterial = new DevExpress.XtraEditors.TextEdit(); |
| | | layoutControlItem7 = new DevExpress.XtraLayout.LayoutControlItem(); |
| | | layoutControlItem8 = new DevExpress.XtraLayout.LayoutControlItem(); |
| | | layoutControlItem9 = new DevExpress.XtraLayout.LayoutControlItem(); |
| | | ((ISupportInitialize)layoutControl1).BeginInit(); |
| | | layoutControl1.SuspendLayout(); |
| | | ((ISupportInitialize)txtDescription.Properties).BeginInit(); |
| | | ((ISupportInitialize)txtMinorLoss.Properties).BeginInit(); |
| | | ((ISupportInitialize)txtlFlowMinorLoss.Properties).BeginInit(); |
| | | ((ISupportInitialize)txtName.Properties).BeginInit(); |
| | | ((ISupportInitialize)Root).BeginInit(); |
| | | ((ISupportInitialize)layoutControlItem1).BeginInit(); |
| | | ((ISupportInitialize)layoutControlItem4).BeginInit(); |
| | | ((ISupportInitialize)layoutControlItem6).BeginInit(); |
| | | ((ISupportInitialize)txtCaliber.Properties).BeginInit(); |
| | | ((ISupportInitialize)TextEditAngle.Properties).BeginInit(); |
| | | ((ISupportInitialize)txtMaterial.Properties).BeginInit(); |
| | | ((ISupportInitialize)layoutControlItem7).BeginInit(); |
| | | ((ISupportInitialize)layoutControlItem8).BeginInit(); |
| | | ((ISupportInitialize)layoutControlItem9).BeginInit(); |
| | | SuspendLayout(); |
| | | // |
| | | // layoutControl1 |
| | | // |
| | | layoutControl1.Controls.Add(txtCaliber); |
| | | layoutControl1.Controls.Add(TextEditAngle); |
| | | layoutControl1.Controls.Add(txtMaterial); |
| | | layoutControl1.Controls.Add(txtDescription); |
| | | layoutControl1.Controls.Add(txtMinorLoss); |
| | | layoutControl1.Controls.Add(txtlFlowMinorLoss); |
| | | layoutControl1.Controls.Add(txtName); |
| | | layoutControl1.Dock = DockStyle.Fill; |
| | | layoutControl1.Location = new Point(0, 0); |
| | |
| | | // |
| | | // txtDescription |
| | | // |
| | | txtDescription.Location = new Point(76, 60); |
| | | txtDescription.Location = new Point(76, 132); |
| | | txtDescription.Name = "txtDescription"; |
| | | txtDescription.Properties.ReadOnly = true; |
| | | txtDescription.Properties.UseReadOnlyAppearance = false; |
| | | txtDescription.Size = new Size(311, 227); |
| | | txtDescription.Size = new Size(311, 155); |
| | | txtDescription.StyleController = layoutControl1; |
| | | txtDescription.TabIndex = 7; |
| | | txtDescription.TabIndex = 6; |
| | | // |
| | | // txtMinorLoss |
| | | // txtlFlowMinorLoss |
| | | // |
| | | txtMinorLoss.Location = new Point(76, 36); |
| | | txtMinorLoss.Name = "txtMinorLoss"; |
| | | txtMinorLoss.Properties.AllowNullInput = DevExpress.Utils.DefaultBoolean.False; |
| | | txtMinorLoss.Properties.MaskSettings.Set("MaskManagerType", typeof(DevExpress.Data.Mask.NumericMaskManager)); |
| | | txtMinorLoss.Properties.ReadOnly = true; |
| | | txtMinorLoss.Properties.UseReadOnlyAppearance = false; |
| | | txtMinorLoss.Size = new Size(311, 20); |
| | | txtMinorLoss.StyleController = layoutControl1; |
| | | txtMinorLoss.TabIndex = 5; |
| | | txtlFlowMinorLoss.Location = new Point(76, 108); |
| | | txtlFlowMinorLoss.Name = "txtlFlowMinorLoss"; |
| | | txtlFlowMinorLoss.Properties.AllowNullInput = DevExpress.Utils.DefaultBoolean.False; |
| | | txtlFlowMinorLoss.Properties.MaskSettings.Set("MaskManagerType", typeof(DevExpress.Data.Mask.NumericMaskManager)); |
| | | txtlFlowMinorLoss.Properties.ReadOnly = true; |
| | | txtlFlowMinorLoss.Properties.UseReadOnlyAppearance = false; |
| | | txtlFlowMinorLoss.Size = new Size(311, 20); |
| | | txtlFlowMinorLoss.StyleController = layoutControl1; |
| | | txtlFlowMinorLoss.TabIndex = 5; |
| | | // |
| | | // txtName |
| | | // |
| | |
| | | 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, layoutControlItem6 }); |
| | | Root.Items.AddRange(new DevExpress.XtraLayout.BaseLayoutItem[] { layoutControlItem1, layoutControlItem4, layoutControlItem6, layoutControlItem7, layoutControlItem8, layoutControlItem9 }); |
| | | Root.Name = "Root"; |
| | | Root.Size = new Size(399, 299); |
| | | Root.TextVisible = false; |
| | |
| | | // |
| | | // layoutControlItem4 |
| | | // |
| | | layoutControlItem4.Control = txtMinorLoss; |
| | | layoutControlItem4.Location = new Point(0, 24); |
| | | layoutControlItem4.Control = txtlFlowMinorLoss; |
| | | layoutControlItem4.Location = new Point(0, 96); |
| | | layoutControlItem4.Name = "layoutControlItem4"; |
| | | layoutControlItem4.Size = new Size(379, 24); |
| | | layoutControlItem4.Text = "局阻系数:"; |
| | | layoutControlItem4.Text = "流量系数:"; |
| | | layoutControlItem4.TextSize = new Size(52, 14); |
| | | // |
| | | // layoutControlItem6 |
| | | // |
| | | layoutControlItem6.Control = txtDescription; |
| | | layoutControlItem6.Location = new Point(0, 48); |
| | | layoutControlItem6.Location = new Point(0, 120); |
| | | layoutControlItem6.Name = "layoutControlItem6"; |
| | | layoutControlItem6.Size = new Size(379, 231); |
| | | layoutControlItem6.Size = new Size(379, 159); |
| | | layoutControlItem6.Text = "说明:"; |
| | | layoutControlItem6.TextSize = new Size(52, 14); |
| | | // |
| | | // txtCaliber |
| | | // |
| | | txtCaliber.Location = new Point(76, 36); |
| | | txtCaliber.Name = "txtCaliber"; |
| | | txtCaliber.Properties.AllowNullInput = DevExpress.Utils.DefaultBoolean.True; |
| | | txtCaliber.Properties.DisplayFormat.FormatString = "{0}mm"; |
| | | txtCaliber.Properties.DisplayFormat.FormatType = DevExpress.Utils.FormatType.Custom; |
| | | txtCaliber.Properties.MaskSettings.Set("MaskManagerType", typeof(DevExpress.Data.Mask.NumericMaskManager)); |
| | | txtCaliber.Properties.NullValuePrompt = "mm"; |
| | | txtCaliber.Properties.ReadOnly = true; |
| | | txtCaliber.Properties.UseReadOnlyAppearance = false; |
| | | txtCaliber.Size = new Size(311, 20); |
| | | txtCaliber.StyleController = layoutControl1; |
| | | txtCaliber.TabIndex = 4; |
| | | // |
| | | // TextEditAngle |
| | | // |
| | | TextEditAngle.Location = new Point(76, 84); |
| | | TextEditAngle.Name = "TextEditAngle"; |
| | | TextEditAngle.Properties.MaskSettings.Set("MaskManagerType", typeof(DevExpress.Data.Mask.NumericMaskManager)); |
| | | TextEditAngle.Properties.MaskSettings.Set("MaskManagerSignature", "allowNull=False"); |
| | | TextEditAngle.Properties.MaskSettings.Set("mask", "d"); |
| | | TextEditAngle.Properties.ReadOnly = true; |
| | | TextEditAngle.Properties.UseReadOnlyAppearance = false; |
| | | TextEditAngle.Size = new Size(311, 20); |
| | | TextEditAngle.StyleController = layoutControl1; |
| | | TextEditAngle.TabIndex = 3; |
| | | // |
| | | // txtDN |
| | | // |
| | | txtMaterial.Location = new Point(76, 60); |
| | | txtMaterial.Name = "txtMaterial"; |
| | | txtMaterial.Properties.AllowNullInput = DevExpress.Utils.DefaultBoolean.False; |
| | | txtMaterial.Properties.ReadOnly = true; |
| | | txtMaterial.Properties.UseReadOnlyAppearance = false; |
| | | txtMaterial.Size = new Size(311, 20); |
| | | txtMaterial.StyleController = layoutControl1; |
| | | txtMaterial.TabIndex = 2; |
| | | // |
| | | // layoutControlItem7 |
| | | // |
| | | layoutControlItem7.Control = txtMaterial; |
| | | layoutControlItem7.Location = new Point(0, 48); |
| | | layoutControlItem7.Name = "layoutControlItem7"; |
| | | layoutControlItem7.Size = new Size(379, 24); |
| | | layoutControlItem7.Text = "材质:"; |
| | | layoutControlItem7.TextSize = new Size(52, 14); |
| | | // |
| | | // layoutControlItem8 |
| | | // |
| | | layoutControlItem8.Control = TextEditAngle; |
| | | layoutControlItem8.Location = new Point(0, 72); |
| | | layoutControlItem8.Name = "layoutControlItem8"; |
| | | layoutControlItem8.Size = new Size(379, 24); |
| | | layoutControlItem8.Text = "角度:"; |
| | | layoutControlItem8.TextSize = new Size(52, 14); |
| | | // |
| | | // layoutControlItem9 |
| | | // |
| | | layoutControlItem9.Control = txtCaliber; |
| | | layoutControlItem9.Location = new Point(0, 24); |
| | | layoutControlItem9.Name = "layoutControlItem9"; |
| | | layoutControlItem9.Size = new Size(379, 24); |
| | | layoutControlItem9.Text = "口径:"; |
| | | layoutControlItem9.TextSize = new Size(52, 14); |
| | | // |
| | | // ViewAssetsSprinklerFactorDlg |
| | | // |
| | |
| | | ((ISupportInitialize)layoutControl1).EndInit(); |
| | | layoutControl1.ResumeLayout(false); |
| | | ((ISupportInitialize)txtDescription.Properties).EndInit(); |
| | | ((ISupportInitialize)txtMinorLoss.Properties).EndInit(); |
| | | ((ISupportInitialize)txtlFlowMinorLoss.Properties).EndInit(); |
| | | ((ISupportInitialize)txtName.Properties).EndInit(); |
| | | ((ISupportInitialize)Root).EndInit(); |
| | | ((ISupportInitialize)layoutControlItem1).EndInit(); |
| | | ((ISupportInitialize)layoutControlItem4).EndInit(); |
| | | ((ISupportInitialize)layoutControlItem6).EndInit(); |
| | | ((ISupportInitialize)txtCaliber.Properties).EndInit(); |
| | | ((ISupportInitialize)TextEditAngle.Properties).EndInit(); |
| | | ((ISupportInitialize)txtMaterial.Properties).EndInit(); |
| | | ((ISupportInitialize)layoutControlItem7).EndInit(); |
| | | ((ISupportInitialize)layoutControlItem8).EndInit(); |
| | | ((ISupportInitialize)layoutControlItem9).EndInit(); |
| | | ResumeLayout(false); |
| | | } |
| | | |
| | |
| | | private DevExpress.XtraLayout.LayoutControlItem layoutControlItem1; |
| | | private DevExpress.XtraLayout.LayoutControlItem layoutControlItem2; |
| | | private DevExpress.XtraLayout.LayoutControlItem layoutControlItem3; |
| | | private DevExpress.XtraEditors.TextEdit txtMinorLoss; |
| | | private DevExpress.XtraEditors.TextEdit txtlFlowMinorLoss; |
| | | private DevExpress.XtraLayout.LayoutControlItem layoutControlItem4; |
| | | private DevExpress.XtraLayout.LayoutControlItem layoutControlItem5; |
| | | private DevExpress.XtraEditors.MemoEdit txtDescription; |
| | | private DevExpress.XtraLayout.LayoutControlItem layoutControlItem6; |
| | | private DevExpress.XtraLayout.EmptySpaceItem emptySpaceItem1; |
| | | private DevExpress.XtraEditors.TextEdit txtCaliber; |
| | | private DevExpress.XtraEditors.TextEdit TextEditAngle; |
| | | private DevExpress.XtraEditors.TextEdit txtMaterial; |
| | | private DevExpress.XtraLayout.LayoutControlItem layoutControlItem7; |
| | | private DevExpress.XtraLayout.LayoutControlItem layoutControlItem8; |
| | | private DevExpress.XtraLayout.LayoutControlItem layoutControlItem9; |
| | | } |
| | | } |