| | |
| | | { |
| | | components = new Container(); |
| | | layoutControl1 = new DevExpress.XtraLayout.LayoutControl(); |
| | | TextEditManningValue = new DevExpress.XtraEditors.TextEdit(); |
| | | TextEditDarcyValue = new DevExpress.XtraEditors.TextEdit(); |
| | | TextEditHazenValue = new DevExpress.XtraEditors.TextEdit(); |
| | | txtCaliber = new DevExpress.XtraEditors.TextEdit(); |
| | | txtMaterial = new DevExpress.XtraEditors.TextEdit(); |
| | | TextEditMinorLoss = new DevExpress.XtraEditors.TextEdit(); |
| | | txtKeyWord = new DevExpress.XtraEditors.TextEdit(); |
| | | txtTagName = new DevExpress.XtraEditors.TextEdit(); |
| | | setFlagsEditCtrl1 = new SetFlagsEditCtrl(); |
| | |
| | | layoutControlItem8 = new DevExpress.XtraLayout.LayoutControlItem(); |
| | | layoutControlItem2 = new DevExpress.XtraLayout.LayoutControlItem(); |
| | | layoutControlItem3 = new DevExpress.XtraLayout.LayoutControlItem(); |
| | | layoutControlItem11 = new DevExpress.XtraLayout.LayoutControlItem(); |
| | | layoutControlItem9 = new DevExpress.XtraLayout.LayoutControlItem(); |
| | | layoutControlItem4 = new DevExpress.XtraLayout.LayoutControlItem(); |
| | | layoutControlItem5 = new DevExpress.XtraLayout.LayoutControlItem(); |
| | | layoutControlItem12 = new DevExpress.XtraLayout.LayoutControlItem(); |
| | | layoutControlItem9 = new DevExpress.XtraLayout.LayoutControlItem(); |
| | | dxErrorProvider1 = new DevExpress.XtraEditors.DXErrorProvider.DXErrorProvider(components); |
| | | ((ISupportInitialize)layoutControl1).BeginInit(); |
| | | layoutControl1.SuspendLayout(); |
| | | ((ISupportInitialize)TextEditManningValue.Properties).BeginInit(); |
| | | ((ISupportInitialize)TextEditDarcyValue.Properties).BeginInit(); |
| | | ((ISupportInitialize)TextEditHazenValue.Properties).BeginInit(); |
| | | ((ISupportInitialize)txtCaliber.Properties).BeginInit(); |
| | | ((ISupportInitialize)txtMaterial.Properties).BeginInit(); |
| | | ((ISupportInitialize)TextEditMinorLoss.Properties).BeginInit(); |
| | | ((ISupportInitialize)txtKeyWord.Properties).BeginInit(); |
| | | ((ISupportInitialize)txtTagName.Properties).BeginInit(); |
| | | ((ISupportInitialize)txtDescription.Properties).BeginInit(); |
| | |
| | | ((ISupportInitialize)layoutControlItem8).BeginInit(); |
| | | ((ISupportInitialize)layoutControlItem2).BeginInit(); |
| | | ((ISupportInitialize)layoutControlItem3).BeginInit(); |
| | | ((ISupportInitialize)layoutControlItem11).BeginInit(); |
| | | ((ISupportInitialize)layoutControlItem9).BeginInit(); |
| | | ((ISupportInitialize)layoutControlItem4).BeginInit(); |
| | | ((ISupportInitialize)layoutControlItem5).BeginInit(); |
| | | ((ISupportInitialize)layoutControlItem12).BeginInit(); |
| | | ((ISupportInitialize)layoutControlItem9).BeginInit(); |
| | | ((ISupportInitialize)dxErrorProvider1).BeginInit(); |
| | | SuspendLayout(); |
| | | // |
| | | // layoutControl1 |
| | | // |
| | | layoutControl1.Controls.Add(TextEditManningValue); |
| | | layoutControl1.Controls.Add(TextEditDarcyValue); |
| | | layoutControl1.Controls.Add(TextEditHazenValue); |
| | | layoutControl1.Controls.Add(txtCaliber); |
| | | layoutControl1.Controls.Add(txtMaterial); |
| | | layoutControl1.Controls.Add(TextEditMinorLoss); |
| | | layoutControl1.Controls.Add(txtKeyWord); |
| | | layoutControl1.Controls.Add(txtTagName); |
| | | layoutControl1.Controls.Add(setFlagsEditCtrl1); |
| | |
| | | layoutControl1.TabIndex = 1; |
| | | layoutControl1.Text = "layoutControl1"; |
| | | // |
| | | // TextEditManningValue |
| | | // |
| | | TextEditManningValue.Location = new Point(422, 84); |
| | | TextEditManningValue.Name = "TextEditManningValue"; |
| | | TextEditManningValue.Size = new Size(231, 20); |
| | | TextEditManningValue.StyleController = layoutControl1; |
| | | TextEditManningValue.TabIndex = 10; |
| | | // |
| | | // TextEditDarcyValue |
| | | // |
| | | TextEditDarcyValue.Location = new Point(100, 108); |
| | | TextEditDarcyValue.Name = "TextEditDarcyValue"; |
| | | TextEditDarcyValue.Size = new Size(230, 20); |
| | | TextEditDarcyValue.StyleController = layoutControl1; |
| | | TextEditDarcyValue.TabIndex = 9; |
| | | // |
| | | // TextEditHazenValue |
| | | // |
| | | TextEditHazenValue.Location = new Point(100, 84); |
| | | TextEditHazenValue.Location = new Point(107, 60); |
| | | TextEditHazenValue.Name = "TextEditHazenValue"; |
| | | TextEditHazenValue.Size = new Size(230, 20); |
| | | TextEditHazenValue.Size = new Size(223, 20); |
| | | TextEditHazenValue.StyleController = layoutControl1; |
| | | TextEditHazenValue.TabIndex = 8; |
| | | TextEditHazenValue.TabIndex = 7; |
| | | // |
| | | // txtCaliber |
| | | // |
| | | txtCaliber.Location = new Point(422, 36); |
| | | txtCaliber.Location = new Point(429, 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.Size = new Size(231, 20); |
| | | txtCaliber.Size = new Size(224, 20); |
| | | txtCaliber.StyleController = layoutControl1; |
| | | txtCaliber.TabIndex = 4; |
| | | // |
| | | // txtMaterial |
| | | // txtDN |
| | | // |
| | | txtMaterial.Location = new Point(100, 36); |
| | | txtMaterial.Location = new Point(107, 36); |
| | | txtMaterial.Name = "txtMaterial"; |
| | | txtMaterial.Properties.AllowNullInput = DevExpress.Utils.DefaultBoolean.False; |
| | | txtMaterial.Size = new Size(230, 20); |
| | | txtMaterial.Size = new Size(223, 20); |
| | | txtMaterial.StyleController = layoutControl1; |
| | | txtMaterial.TabIndex = 3; |
| | | // |
| | | // TextEditMinorLoss |
| | | // |
| | | TextEditMinorLoss.Location = new Point(100, 60); |
| | | TextEditMinorLoss.Name = "TextEditMinorLoss"; |
| | | TextEditMinorLoss.Size = new Size(230, 20); |
| | | TextEditMinorLoss.StyleController = layoutControl1; |
| | | TextEditMinorLoss.TabIndex = 5; |
| | | // |
| | | // txtKeyWord |
| | | // |
| | | txtKeyWord.Location = new Point(422, 12); |
| | | txtKeyWord.Location = new Point(429, 12); |
| | | txtKeyWord.Name = "txtKeyWord"; |
| | | txtKeyWord.Properties.NullValuePrompt = ",分隔 例如 A,B"; |
| | | txtKeyWord.Size = new Size(231, 20); |
| | | txtKeyWord.Size = new Size(224, 20); |
| | | txtKeyWord.StyleController = layoutControl1; |
| | | txtKeyWord.TabIndex = 2; |
| | | // |
| | | // txtTagName |
| | | // |
| | | txtTagName.Location = new Point(422, 108); |
| | | txtTagName.Location = new Point(429, 60); |
| | | txtTagName.Name = "txtTagName"; |
| | | txtTagName.Size = new Size(231, 20); |
| | | txtTagName.Size = new Size(224, 20); |
| | | txtTagName.StyleController = layoutControl1; |
| | | txtTagName.TabIndex = 7; |
| | | txtTagName.TabIndex = 8; |
| | | // |
| | | // setFlagsEditCtrl1 |
| | | // |
| | | setFlagsEditCtrl1.Location = new Point(422, 60); |
| | | setFlagsEditCtrl1.Location = new Point(107, 84); |
| | | setFlagsEditCtrl1.Name = "setFlagsEditCtrl1"; |
| | | setFlagsEditCtrl1.Size = new Size(231, 20); |
| | | setFlagsEditCtrl1.Size = new Size(546, 20); |
| | | setFlagsEditCtrl1.TabIndex = 6; |
| | | // |
| | | // generalOkAndCancelCtrl1 |
| | |
| | | // |
| | | // txtDescription |
| | | // |
| | | txtDescription.Location = new Point(100, 132); |
| | | txtDescription.Location = new Point(107, 108); |
| | | txtDescription.Name = "txtDescription"; |
| | | txtDescription.Size = new Size(553, 207); |
| | | txtDescription.Size = new Size(546, 231); |
| | | txtDescription.StyleController = layoutControl1; |
| | | txtDescription.TabIndex = 9; |
| | | // |
| | | // txtName |
| | | // |
| | | txtName.Location = new Point(100, 12); |
| | | txtName.Location = new Point(107, 12); |
| | | txtName.Name = "txtName"; |
| | | txtName.Properties.AllowNullInput = DevExpress.Utils.DefaultBoolean.False; |
| | | txtName.Size = new Size(230, 20); |
| | | txtName.Size = new Size(223, 20); |
| | | txtName.StyleController = layoutControl1; |
| | | txtName.TabIndex = 0; |
| | | // |
| | |
| | | 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, layoutControlItem6, layoutControlItem7, layoutControlItem10, layoutControlItem8, layoutControlItem2, layoutControlItem3, layoutControlItem11, layoutControlItem5, layoutControlItem4, layoutControlItem12, layoutControlItem9 }); |
| | | Root.Items.AddRange(new DevExpress.XtraLayout.BaseLayoutItem[] { layoutControlItem1, layoutControlItem6, layoutControlItem7, layoutControlItem10, layoutControlItem8, layoutControlItem2, layoutControlItem3, layoutControlItem4, layoutControlItem9 }); |
| | | Root.Name = "Root"; |
| | | Root.Size = new Size(665, 381); |
| | | Root.TextVisible = false; |
| | |
| | | layoutControlItem1.Name = "layoutControlItem1"; |
| | | layoutControlItem1.Size = new Size(322, 24); |
| | | layoutControlItem1.Text = "<color=red>*</color>名称:"; |
| | | layoutControlItem1.TextSize = new Size(76, 14); |
| | | layoutControlItem1.TextSize = new Size(83, 14); |
| | | // |
| | | // layoutControlItem6 |
| | | // |
| | | layoutControlItem6.Control = txtDescription; |
| | | layoutControlItem6.Location = new Point(0, 120); |
| | | layoutControlItem6.Location = new Point(0, 96); |
| | | layoutControlItem6.Name = "layoutControlItem6"; |
| | | layoutControlItem6.Size = new Size(645, 211); |
| | | layoutControlItem6.Size = new Size(645, 235); |
| | | layoutControlItem6.Text = "说明:"; |
| | | layoutControlItem6.TextSize = new Size(76, 14); |
| | | layoutControlItem6.TextSize = new Size(83, 14); |
| | | // |
| | | // layoutControlItem7 |
| | | // |
| | |
| | | layoutControlItem10.Name = "layoutControlItem10"; |
| | | layoutControlItem10.Size = new Size(323, 24); |
| | | layoutControlItem10.Text = "关键字:"; |
| | | layoutControlItem10.TextSize = new Size(76, 14); |
| | | layoutControlItem10.TextSize = new Size(83, 14); |
| | | // |
| | | // layoutControlItem8 |
| | | // |
| | | layoutControlItem8.Control = setFlagsEditCtrl1; |
| | | layoutControlItem8.Location = new Point(322, 48); |
| | | layoutControlItem8.Location = new Point(0, 72); |
| | | layoutControlItem8.Name = "layoutControlItem8"; |
| | | layoutControlItem8.Size = new Size(323, 24); |
| | | layoutControlItem8.Size = new Size(645, 24); |
| | | layoutControlItem8.Text = "标签:"; |
| | | layoutControlItem8.TextSize = new Size(76, 14); |
| | | layoutControlItem8.TextSize = new Size(83, 14); |
| | | // |
| | | // layoutControlItem2 |
| | | // |
| | |
| | | layoutControlItem2.Location = new Point(0, 24); |
| | | layoutControlItem2.Name = "layoutControlItem2"; |
| | | layoutControlItem2.Size = new Size(322, 24); |
| | | layoutControlItem2.Text = "<color=red>*</color>材质:"; |
| | | layoutControlItem2.TextSize = new Size(76, 14); |
| | | layoutControlItem2.Text = "材质:"; |
| | | layoutControlItem2.TextSize = new Size(83, 14); |
| | | // |
| | | // layoutControlItem3 |
| | | // |
| | |
| | | layoutControlItem3.Name = "layoutControlItem3"; |
| | | layoutControlItem3.Size = new Size(323, 24); |
| | | layoutControlItem3.Text = "口径:"; |
| | | layoutControlItem3.TextSize = new Size(76, 14); |
| | | layoutControlItem3.TextSize = new Size(83, 14); |
| | | // |
| | | // layoutControlItem11 |
| | | // layoutControlItem4 |
| | | // |
| | | layoutControlItem11.AllowHtmlStringInCaption = true; |
| | | layoutControlItem11.Control = TextEditMinorLoss; |
| | | layoutControlItem11.Location = new Point(0, 48); |
| | | layoutControlItem11.Name = "layoutControlItem11"; |
| | | layoutControlItem11.Size = new Size(322, 24); |
| | | layoutControlItem11.Text = "<color=red>*</color>喷射系数:"; |
| | | layoutControlItem11.TextSize = new Size(76, 14); |
| | | layoutControlItem4.AllowHtmlStringInCaption = true; |
| | | layoutControlItem4.Control = TextEditHazenValue; |
| | | layoutControlItem4.Location = new Point(0, 48); |
| | | layoutControlItem4.Name = "layoutControlItem4"; |
| | | layoutControlItem4.Size = new Size(322, 24); |
| | | layoutControlItem4.Text = "<color=red>*</color>威廉姆斯系数:"; |
| | | layoutControlItem4.TextSize = new Size(83, 14); |
| | | // |
| | | // layoutControlItem9 |
| | | // |
| | | layoutControlItem9.Control = txtTagName; |
| | | layoutControlItem9.Location = new Point(322, 96); |
| | | layoutControlItem9.Location = new Point(322, 48); |
| | | layoutControlItem9.Name = "layoutControlItem9"; |
| | | layoutControlItem9.Size = new Size(323, 24); |
| | | layoutControlItem9.Text = "标志:"; |
| | | layoutControlItem9.TextSize = new Size(76, 14); |
| | | // |
| | | // layoutControlItem4 |
| | | // |
| | | layoutControlItem4.Control = TextEditHazenValue; |
| | | layoutControlItem4.Location = new Point(0, 72); |
| | | layoutControlItem4.Name = "layoutControlItem4"; |
| | | layoutControlItem4.Size = new Size(322, 24); |
| | | layoutControlItem4.Text = "威廉姆斯系数:"; |
| | | layoutControlItem4.TextSize = new Size(76, 14); |
| | | // |
| | | // layoutControlItem5 |
| | | // |
| | | layoutControlItem5.Control = TextEditDarcyValue; |
| | | layoutControlItem5.Location = new Point(0, 96); |
| | | layoutControlItem5.Name = "layoutControlItem5"; |
| | | layoutControlItem5.Size = new Size(322, 24); |
| | | layoutControlItem5.Text = "达西系数:"; |
| | | layoutControlItem5.TextSize = new Size(76, 14); |
| | | // |
| | | // layoutControlItem12 |
| | | // |
| | | layoutControlItem12.Control = TextEditManningValue; |
| | | layoutControlItem12.Location = new Point(322, 72); |
| | | layoutControlItem12.Name = "layoutControlItem12"; |
| | | layoutControlItem12.Size = new Size(323, 24); |
| | | layoutControlItem12.Text = "曼宁系数:"; |
| | | layoutControlItem12.TextSize = new Size(76, 14); |
| | | layoutControlItem9.TextSize = new Size(83, 14); |
| | | // |
| | | // dxErrorProvider1 |
| | | // |
| | |
| | | Text = "添加"; |
| | | ((ISupportInitialize)layoutControl1).EndInit(); |
| | | layoutControl1.ResumeLayout(false); |
| | | ((ISupportInitialize)TextEditManningValue.Properties).EndInit(); |
| | | ((ISupportInitialize)TextEditDarcyValue.Properties).EndInit(); |
| | | ((ISupportInitialize)TextEditHazenValue.Properties).EndInit(); |
| | | ((ISupportInitialize)txtCaliber.Properties).EndInit(); |
| | | ((ISupportInitialize)txtMaterial.Properties).EndInit(); |
| | | ((ISupportInitialize)TextEditMinorLoss.Properties).EndInit(); |
| | | ((ISupportInitialize)txtKeyWord.Properties).EndInit(); |
| | | ((ISupportInitialize)txtTagName.Properties).EndInit(); |
| | | ((ISupportInitialize)txtDescription.Properties).EndInit(); |
| | |
| | | ((ISupportInitialize)layoutControlItem8).EndInit(); |
| | | ((ISupportInitialize)layoutControlItem2).EndInit(); |
| | | ((ISupportInitialize)layoutControlItem3).EndInit(); |
| | | ((ISupportInitialize)layoutControlItem11).EndInit(); |
| | | ((ISupportInitialize)layoutControlItem9).EndInit(); |
| | | ((ISupportInitialize)layoutControlItem4).EndInit(); |
| | | ((ISupportInitialize)layoutControlItem5).EndInit(); |
| | | ((ISupportInitialize)layoutControlItem12).EndInit(); |
| | | ((ISupportInitialize)layoutControlItem9).EndInit(); |
| | | ((ISupportInitialize)dxErrorProvider1).EndInit(); |
| | | ResumeLayout(false); |
| | | } |
| | |
| | | private DevExpress.XtraEditors.TextEdit txtName; |
| | | private DevExpress.XtraLayout.LayoutControlGroup Root; |
| | | private DevExpress.XtraLayout.LayoutControlItem layoutControlItem1; |
| | | private DevExpress.XtraLayout.LayoutControlItem layoutControlItem5; |
| | | private DevExpress.XtraLayout.LayoutControlItem layoutControlItem2; |
| | | private DevExpress.XtraLayout.LayoutControlItem layoutControlItem6; |
| | | private DevExpress.XtraLayout.LayoutControlItem layoutControlItem7; |
| | |
| | | private DevExpress.XtraEditors.TextEdit txtTagName; |
| | | private DevExpress.XtraLayout.LayoutControlItem layoutControlItem9; |
| | | private DevExpress.XtraLayout.LayoutControlItem layoutControlItem10; |
| | | private DevExpress.XtraEditors.TextEdit TextEditMinorLoss; |
| | | private DevExpress.XtraLayout.LayoutControlItem layoutControlItem11; |
| | | private DevExpress.XtraEditors.TextEdit txtMaterial; |
| | | private DevExpress.XtraEditors.TextEdit txtCaliber; |
| | | private DevExpress.XtraLayout.LayoutControlItem layoutControlItem3; |
| | | private DevExpress.XtraEditors.TextEdit TextEditManningValue; |
| | | private DevExpress.XtraEditors.TextEdit TextEditDarcyValue; |
| | | private DevExpress.XtraEditors.TextEdit TextEditHazenValue; |
| | | private DevExpress.XtraLayout.LayoutControlItem layoutControlItem4; |
| | | private DevExpress.XtraLayout.LayoutControlItem layoutControlItem12; |
| | | } |
| | | } |