| | |
| | | /// </summary> |
| | | private void InitializeComponent() |
| | | { |
| | | this.components = new System.ComponentModel.Container(); |
| | | this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; |
| | | this.Text = "AddAssetsCoolingFactorDlg"; |
| | | components = new Container(); |
| | | layoutControl1 = new DevExpress.XtraLayout.LayoutControl(); |
| | | txtKeyWord = new DevExpress.XtraEditors.TextEdit(); |
| | | txtTagName = new DevExpress.XtraEditors.TextEdit(); |
| | | setFlagsEditCtrl1 = new SetFlagsEditCtrl(); |
| | | generalOkAndCancelCtrl1 = new GeneralOkAndCancelCtrl(); |
| | | txtDescription = new DevExpress.XtraEditors.MemoEdit(); |
| | | txtLowerLimit = new DevExpress.XtraEditors.TextEdit(); |
| | | txtCoefficient = new DevExpress.XtraEditors.TextEdit(); |
| | | txtCaliber = new DevExpress.XtraEditors.TextEdit(); |
| | | txtMaterial = new DevExpress.XtraEditors.TextEdit(); |
| | | txtName = new DevExpress.XtraEditors.TextEdit(); |
| | | Root = new DevExpress.XtraLayout.LayoutControlGroup(); |
| | | layoutControlItem1 = new DevExpress.XtraLayout.LayoutControlItem(); |
| | | layoutControlItem3 = new DevExpress.XtraLayout.LayoutControlItem(); |
| | | layoutControlItem4 = new DevExpress.XtraLayout.LayoutControlItem(); |
| | | layoutControlItem5 = new DevExpress.XtraLayout.LayoutControlItem(); |
| | | layoutControlItem2 = new DevExpress.XtraLayout.LayoutControlItem(); |
| | | layoutControlItem6 = new DevExpress.XtraLayout.LayoutControlItem(); |
| | | layoutControlItem7 = new DevExpress.XtraLayout.LayoutControlItem(); |
| | | layoutControlItem8 = new DevExpress.XtraLayout.LayoutControlItem(); |
| | | layoutControlItem9 = new DevExpress.XtraLayout.LayoutControlItem(); |
| | | layoutControlItem10 = new DevExpress.XtraLayout.LayoutControlItem(); |
| | | dxErrorProvider1 = new DevExpress.XtraEditors.DXErrorProvider.DXErrorProvider(components); |
| | | ((ISupportInitialize)layoutControl1).BeginInit(); |
| | | layoutControl1.SuspendLayout(); |
| | | ((ISupportInitialize)txtKeyWord.Properties).BeginInit(); |
| | | ((ISupportInitialize)txtTagName.Properties).BeginInit(); |
| | | ((ISupportInitialize)txtDescription.Properties).BeginInit(); |
| | | ((ISupportInitialize)txtLowerLimit.Properties).BeginInit(); |
| | | ((ISupportInitialize)txtCoefficient.Properties).BeginInit(); |
| | | ((ISupportInitialize)txtCaliber.Properties).BeginInit(); |
| | | ((ISupportInitialize)txtMaterial.Properties).BeginInit(); |
| | | ((ISupportInitialize)txtName.Properties).BeginInit(); |
| | | ((ISupportInitialize)Root).BeginInit(); |
| | | ((ISupportInitialize)layoutControlItem1).BeginInit(); |
| | | ((ISupportInitialize)layoutControlItem3).BeginInit(); |
| | | ((ISupportInitialize)layoutControlItem4).BeginInit(); |
| | | ((ISupportInitialize)layoutControlItem5).BeginInit(); |
| | | ((ISupportInitialize)layoutControlItem2).BeginInit(); |
| | | ((ISupportInitialize)layoutControlItem6).BeginInit(); |
| | | ((ISupportInitialize)layoutControlItem7).BeginInit(); |
| | | ((ISupportInitialize)layoutControlItem8).BeginInit(); |
| | | ((ISupportInitialize)layoutControlItem9).BeginInit(); |
| | | ((ISupportInitialize)layoutControlItem10).BeginInit(); |
| | | ((ISupportInitialize)dxErrorProvider1).BeginInit(); |
| | | SuspendLayout(); |
| | | // |
| | | // layoutControl1 |
| | | // |
| | | layoutControl1.Controls.Add(txtKeyWord); |
| | | layoutControl1.Controls.Add(txtTagName); |
| | | layoutControl1.Controls.Add(setFlagsEditCtrl1); |
| | | layoutControl1.Controls.Add(generalOkAndCancelCtrl1); |
| | | layoutControl1.Controls.Add(txtDescription); |
| | | layoutControl1.Controls.Add(txtLowerLimit); |
| | | layoutControl1.Controls.Add(txtCoefficient); |
| | | layoutControl1.Controls.Add(txtCaliber); |
| | | layoutControl1.Controls.Add(txtMaterial); |
| | | layoutControl1.Controls.Add(txtName); |
| | | layoutControl1.Dock = DockStyle.Fill; |
| | | layoutControl1.Location = new Point(0, 0); |
| | | layoutControl1.Name = "layoutControl1"; |
| | | layoutControl1.OptionsCustomizationForm.DesignTimeCustomizationFormPositionAndSize = new Rectangle(826, 220, 650, 400); |
| | | layoutControl1.Root = Root; |
| | | layoutControl1.Size = new Size(665, 381); |
| | | layoutControl1.TabIndex = 1; |
| | | layoutControl1.Text = "layoutControl1"; |
| | | // |
| | | // txtKeyWord |
| | | // |
| | | txtKeyWord.Location = new Point(405, 12); |
| | | txtKeyWord.Name = "txtKeyWord"; |
| | | txtKeyWord.Properties.NullValuePrompt = ",分隔 例如 A,B"; |
| | | txtKeyWord.Size = new Size(248, 20); |
| | | txtKeyWord.StyleController = layoutControl1; |
| | | txtKeyWord.TabIndex = 2; |
| | | // |
| | | // txtTagName |
| | | // |
| | | txtTagName.Location = new Point(405, 84); |
| | | txtTagName.Name = "txtTagName"; |
| | | txtTagName.Size = new Size(248, 20); |
| | | txtTagName.StyleController = layoutControl1; |
| | | txtTagName.TabIndex = 8; |
| | | // |
| | | // setFlagsEditCtrl1 |
| | | // |
| | | setFlagsEditCtrl1.Location = new Point(83, 84); |
| | | setFlagsEditCtrl1.Name = "setFlagsEditCtrl1"; |
| | | setFlagsEditCtrl1.Size = new Size(247, 20); |
| | | setFlagsEditCtrl1.TabIndex = 7; |
| | | // |
| | | // 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, 343); |
| | | generalOkAndCancelCtrl1.Name = "generalOkAndCancelCtrl1"; |
| | | generalOkAndCancelCtrl1.Size = new Size(641, 26); |
| | | generalOkAndCancelCtrl1.TabIndex = 10; |
| | | // |
| | | // txtDescription |
| | | // |
| | | txtDescription.Location = new Point(83, 108); |
| | | txtDescription.Name = "txtDescription"; |
| | | txtDescription.Size = new Size(570, 231); |
| | | txtDescription.StyleController = layoutControl1; |
| | | txtDescription.TabIndex = 9; |
| | | // |
| | | // txtLowerLimit |
| | | // |
| | | txtLowerLimit.Location = new Point(405, 60); |
| | | txtLowerLimit.Name = "txtLowerLimit"; |
| | | txtLowerLimit.Properties.AllowNullInput = DevExpress.Utils.DefaultBoolean.False; |
| | | txtLowerLimit.Properties.DisplayFormat.FormatString = "{0}m"; |
| | | txtLowerLimit.Properties.DisplayFormat.FormatType = DevExpress.Utils.FormatType.Custom; |
| | | txtLowerLimit.Properties.MaskSettings.Set("MaskManagerType", typeof(DevExpress.Data.Mask.NumericMaskManager)); |
| | | txtLowerLimit.Properties.NullValuePrompt = "m"; |
| | | txtLowerLimit.Size = new Size(248, 20); |
| | | txtLowerLimit.StyleController = layoutControl1; |
| | | txtLowerLimit.TabIndex = 6; |
| | | // |
| | | // txtCoefficient |
| | | // |
| | | txtCoefficient.Location = new Point(83, 60); |
| | | txtCoefficient.Name = "txtCoefficient"; |
| | | txtCoefficient.Properties.AllowNullInput = DevExpress.Utils.DefaultBoolean.False; |
| | | txtCoefficient.Properties.MaskSettings.Set("MaskManagerType", typeof(DevExpress.Data.Mask.NumericMaskManager)); |
| | | txtCoefficient.Size = new Size(247, 20); |
| | | txtCoefficient.StyleController = layoutControl1; |
| | | txtCoefficient.TabIndex = 5; |
| | | // |
| | | // txtCaliber |
| | | // |
| | | txtCaliber.Location = new Point(405, 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(248, 20); |
| | | txtCaliber.StyleController = layoutControl1; |
| | | txtCaliber.TabIndex = 4; |
| | | txtCaliber.EditValueChanged += txtCaliber_EditValueChanged; |
| | | // |
| | | // txtMaterial |
| | | // |
| | | txtMaterial.Location = new Point(83, 36); |
| | | txtMaterial.Name = "txtMaterial"; |
| | | txtMaterial.Properties.AllowNullInput = DevExpress.Utils.DefaultBoolean.False; |
| | | txtMaterial.Size = new Size(247, 20); |
| | | txtMaterial.StyleController = layoutControl1; |
| | | txtMaterial.TabIndex = 3; |
| | | txtMaterial.EditValueChanged += txtMaterial_EditValueChanged; |
| | | // |
| | | // txtName |
| | | // |
| | | txtName.Location = new Point(83, 12); |
| | | txtName.Name = "txtName"; |
| | | txtName.Properties.AllowNullInput = DevExpress.Utils.DefaultBoolean.False; |
| | | txtName.Size = new Size(247, 20); |
| | | txtName.StyleController = layoutControl1; |
| | | txtName.TabIndex = 0; |
| | | // |
| | | // 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[] { layoutControlItem1, layoutControlItem3, layoutControlItem4, layoutControlItem5, layoutControlItem2, layoutControlItem6, layoutControlItem7, layoutControlItem8, layoutControlItem9, layoutControlItem10 }); |
| | | Root.Name = "Root"; |
| | | Root.Size = new Size(665, 381); |
| | | Root.TextVisible = false; |
| | | // |
| | | // layoutControlItem1 |
| | | // |
| | | layoutControlItem1.AllowHtmlStringInCaption = true; |
| | | layoutControlItem1.Control = txtName; |
| | | layoutControlItem1.Location = new Point(0, 0); |
| | | layoutControlItem1.Name = "layoutControlItem1"; |
| | | layoutControlItem1.Size = new Size(322, 24); |
| | | layoutControlItem1.Text = "<color=red>*</color>名称:"; |
| | | layoutControlItem1.TextSize = new Size(59, 14); |
| | | // |
| | | // layoutControlItem3 |
| | | // |
| | | layoutControlItem3.Control = txtCaliber; |
| | | layoutControlItem3.Location = new Point(322, 24); |
| | | layoutControlItem3.Name = "layoutControlItem3"; |
| | | layoutControlItem3.Size = new Size(323, 24); |
| | | layoutControlItem3.Text = "口径:"; |
| | | layoutControlItem3.TextSize = new Size(59, 14); |
| | | // |
| | | // layoutControlItem4 |
| | | // |
| | | layoutControlItem4.AllowHtmlStringInCaption = true; |
| | | layoutControlItem4.Control = txtCoefficient; |
| | | layoutControlItem4.Location = new Point(0, 48); |
| | | layoutControlItem4.Name = "layoutControlItem4"; |
| | | layoutControlItem4.Size = new Size(322, 24); |
| | | layoutControlItem4.Text = "<color=red>*</color>流量系数:"; |
| | | layoutControlItem4.TextSize = new Size(59, 14); |
| | | // |
| | | // layoutControlItem5 |
| | | // |
| | | layoutControlItem5.AllowHtmlStringInCaption = true; |
| | | layoutControlItem5.Control = txtLowerLimit; |
| | | layoutControlItem5.Location = new Point(322, 48); |
| | | layoutControlItem5.Name = "layoutControlItem5"; |
| | | layoutControlItem5.Size = new Size(323, 24); |
| | | layoutControlItem5.Text = "<color=red>*</color>最小压力:"; |
| | | layoutControlItem5.TextSize = new Size(59, 14); |
| | | // |
| | | // layoutControlItem2 |
| | | // |
| | | layoutControlItem2.AllowHtmlStringInCaption = true; |
| | | layoutControlItem2.Control = txtMaterial; |
| | | layoutControlItem2.Location = new Point(0, 24); |
| | | layoutControlItem2.Name = "layoutControlItem2"; |
| | | layoutControlItem2.Size = new Size(322, 24); |
| | | layoutControlItem2.Text = "<color=red>*</color>材质:"; |
| | | layoutControlItem2.TextSize = new Size(59, 14); |
| | | // |
| | | // layoutControlItem6 |
| | | // |
| | | layoutControlItem6.Control = txtDescription; |
| | | layoutControlItem6.Location = new Point(0, 96); |
| | | layoutControlItem6.Name = "layoutControlItem6"; |
| | | layoutControlItem6.Size = new Size(645, 235); |
| | | layoutControlItem6.Text = "说明:"; |
| | | layoutControlItem6.TextSize = new Size(59, 14); |
| | | // |
| | | // layoutControlItem7 |
| | | // |
| | | layoutControlItem7.Control = generalOkAndCancelCtrl1; |
| | | layoutControlItem7.Location = new Point(0, 331); |
| | | layoutControlItem7.Name = "layoutControlItem7"; |
| | | layoutControlItem7.Size = new Size(645, 30); |
| | | layoutControlItem7.TextSize = new Size(0, 0); |
| | | layoutControlItem7.TextVisible = false; |
| | | // |
| | | // layoutControlItem8 |
| | | // |
| | | layoutControlItem8.Control = setFlagsEditCtrl1; |
| | | layoutControlItem8.Location = new Point(0, 72); |
| | | layoutControlItem8.Name = "layoutControlItem8"; |
| | | layoutControlItem8.Size = new Size(322, 24); |
| | | layoutControlItem8.Text = "标签:"; |
| | | layoutControlItem8.TextSize = new Size(59, 14); |
| | | // |
| | | // layoutControlItem9 |
| | | // |
| | | layoutControlItem9.Control = txtTagName; |
| | | layoutControlItem9.Location = new Point(322, 72); |
| | | layoutControlItem9.Name = "layoutControlItem9"; |
| | | layoutControlItem9.Size = new Size(323, 24); |
| | | layoutControlItem9.Text = "标志:"; |
| | | layoutControlItem9.TextSize = new Size(59, 14); |
| | | // |
| | | // layoutControlItem10 |
| | | // |
| | | layoutControlItem10.Control = txtKeyWord; |
| | | layoutControlItem10.Location = new Point(322, 0); |
| | | layoutControlItem10.Name = "layoutControlItem10"; |
| | | layoutControlItem10.Size = new Size(323, 24); |
| | | layoutControlItem10.Text = "关键字:"; |
| | | layoutControlItem10.TextSize = new Size(59, 14); |
| | | // |
| | | // dxErrorProvider1 |
| | | // |
| | | dxErrorProvider1.ContainerControl = this; |
| | | // |
| | | // AddAssetsCoolingMainDlg |
| | | // |
| | | AutoScaleDimensions = new SizeF(7F, 14F); |
| | | AutoScaleMode = AutoScaleMode.Font; |
| | | ClientSize = new Size(665, 381); |
| | | Controls.Add(layoutControl1); |
| | | Name = "AddAssetsCoolingMainDlg"; |
| | | StartPosition = FormStartPosition.CenterParent; |
| | | Text = "添加"; |
| | | ((ISupportInitialize)layoutControl1).EndInit(); |
| | | layoutControl1.ResumeLayout(false); |
| | | ((ISupportInitialize)txtKeyWord.Properties).EndInit(); |
| | | ((ISupportInitialize)txtTagName.Properties).EndInit(); |
| | | ((ISupportInitialize)txtDescription.Properties).EndInit(); |
| | | ((ISupportInitialize)txtLowerLimit.Properties).EndInit(); |
| | | ((ISupportInitialize)txtCoefficient.Properties).EndInit(); |
| | | ((ISupportInitialize)txtCaliber.Properties).EndInit(); |
| | | ((ISupportInitialize)txtMaterial.Properties).EndInit(); |
| | | ((ISupportInitialize)txtName.Properties).EndInit(); |
| | | ((ISupportInitialize)Root).EndInit(); |
| | | ((ISupportInitialize)layoutControlItem1).EndInit(); |
| | | ((ISupportInitialize)layoutControlItem3).EndInit(); |
| | | ((ISupportInitialize)layoutControlItem4).EndInit(); |
| | | ((ISupportInitialize)layoutControlItem5).EndInit(); |
| | | ((ISupportInitialize)layoutControlItem2).EndInit(); |
| | | ((ISupportInitialize)layoutControlItem6).EndInit(); |
| | | ((ISupportInitialize)layoutControlItem7).EndInit(); |
| | | ((ISupportInitialize)layoutControlItem8).EndInit(); |
| | | ((ISupportInitialize)layoutControlItem9).EndInit(); |
| | | ((ISupportInitialize)layoutControlItem10).EndInit(); |
| | | ((ISupportInitialize)dxErrorProvider1).EndInit(); |
| | | ResumeLayout(false); |
| | | } |
| | | |
| | | #endregion |
| | | |
| | | private DevExpress.XtraLayout.LayoutControl layoutControl1; |
| | | private GeneralOkAndCancelCtrl generalOkAndCancelCtrl1; |
| | | private DevExpress.XtraEditors.MemoEdit txtDescription; |
| | | private DevExpress.XtraEditors.TextEdit txtLowerLimit; |
| | | private DevExpress.XtraEditors.TextEdit txtCoefficient; |
| | | private DevExpress.XtraEditors.TextEdit txtCaliber; |
| | | private DevExpress.XtraEditors.TextEdit txtMaterial; |
| | | private DevExpress.XtraEditors.TextEdit txtName; |
| | | private DevExpress.XtraLayout.LayoutControlGroup Root; |
| | | private DevExpress.XtraLayout.LayoutControlItem layoutControlItem1; |
| | | private DevExpress.XtraLayout.LayoutControlItem layoutControlItem3; |
| | | private DevExpress.XtraLayout.LayoutControlItem layoutControlItem4; |
| | | private DevExpress.XtraLayout.LayoutControlItem layoutControlItem5; |
| | | private DevExpress.XtraLayout.LayoutControlItem layoutControlItem2; |
| | | private DevExpress.XtraLayout.LayoutControlItem layoutControlItem6; |
| | | private DevExpress.XtraLayout.LayoutControlItem layoutControlItem7; |
| | | private DevExpress.XtraEditors.DXErrorProvider.DXErrorProvider dxErrorProvider1; |
| | | private SetFlagsEditCtrl setFlagsEditCtrl1; |
| | | private DevExpress.XtraLayout.LayoutControlItem layoutControlItem8; |
| | | private DevExpress.XtraEditors.TextEdit txtKeyWord; |
| | | private DevExpress.XtraEditors.TextEdit txtTagName; |
| | | private DevExpress.XtraLayout.LayoutControlItem layoutControlItem9; |
| | | private DevExpress.XtraLayout.LayoutControlItem layoutControlItem10; |
| | | } |
| | | } |