| | |
| | | { |
| | | components = new System.ComponentModel.Container(); |
| | | layoutControl1 = new DevExpress.XtraLayout.LayoutControl(); |
| | | TextEditCaliber = new DevExpress.XtraEditors.ImageComboBoxEdit(); |
| | | popupContainerControl1 = new DevExpress.XtraEditors.PopupContainerControl(); |
| | | treeList1 = new DevExpress.XtraTreeList.TreeList(); |
| | | colName = new DevExpress.XtraTreeList.Columns.TreeListColumn(); |
| | | colCaliber = new DevExpress.XtraTreeList.Columns.TreeListColumn(); |
| | | colMaterial = new DevExpress.XtraTreeList.Columns.TreeListColumn(); |
| | | colMinorLoss = new DevExpress.XtraTreeList.Columns.TreeListColumn(); |
| | | compressorCoefficientViewModelBindingSource = new BindingSource(components); |
| | | BtnOk = new DevExpress.XtraEditors.SimpleButton(); |
| | | simpleButton1 = new DevExpress.XtraEditors.SimpleButton(); |
| | | TextEditName = new DevExpress.XtraEditors.TextEdit(); |
| | |
| | | layoutControlItem5 = new DevExpress.XtraLayout.LayoutControlItem(); |
| | | layoutControlItem12 = new DevExpress.XtraLayout.LayoutControlItem(); |
| | | layoutControlItem7 = new DevExpress.XtraLayout.LayoutControlItem(); |
| | | layoutControlItem9 = new DevExpress.XtraLayout.LayoutControlItem(); |
| | | layoutControlItem6 = new DevExpress.XtraLayout.LayoutControlItem(); |
| | | dxErrorProvider1 = new DevExpress.XtraEditors.DXErrorProvider.DXErrorProvider(components); |
| | | layoutControlItem13 = new DevExpress.XtraLayout.LayoutControlItem(); |
| | |
| | | layoutControlItem3 = new DevExpress.XtraLayout.LayoutControlItem(); |
| | | ((System.ComponentModel.ISupportInitialize)layoutControl1).BeginInit(); |
| | | layoutControl1.SuspendLayout(); |
| | | ((System.ComponentModel.ISupportInitialize)TextEditCaliber.Properties).BeginInit(); |
| | | ((System.ComponentModel.ISupportInitialize)popupContainerControl1).BeginInit(); |
| | | popupContainerControl1.SuspendLayout(); |
| | | ((System.ComponentModel.ISupportInitialize)treeList1).BeginInit(); |
| | | ((System.ComponentModel.ISupportInitialize)compressorCoefficientViewModelBindingSource).BeginInit(); |
| | | ((System.ComponentModel.ISupportInitialize)TextEditName.Properties).BeginInit(); |
| | | ((System.ComponentModel.ISupportInitialize)DescriptionTextEdit.Properties).BeginInit(); |
| | | ((System.ComponentModel.ISupportInitialize)TextEditMaterial.Properties).BeginInit(); |
| | |
| | | ((System.ComponentModel.ISupportInitialize)layoutControlItem5).BeginInit(); |
| | | ((System.ComponentModel.ISupportInitialize)layoutControlItem12).BeginInit(); |
| | | ((System.ComponentModel.ISupportInitialize)layoutControlItem7).BeginInit(); |
| | | ((System.ComponentModel.ISupportInitialize)layoutControlItem9).BeginInit(); |
| | | ((System.ComponentModel.ISupportInitialize)layoutControlItem6).BeginInit(); |
| | | ((System.ComponentModel.ISupportInitialize)dxErrorProvider1).BeginInit(); |
| | | ((System.ComponentModel.ISupportInitialize)layoutControlItem13).BeginInit(); |
| | |
| | | // |
| | | // layoutControl1 |
| | | // |
| | | layoutControl1.Controls.Add(TextEditCaliber); |
| | | layoutControl1.Controls.Add(popupContainerControl1); |
| | | layoutControl1.Controls.Add(BtnOk); |
| | | layoutControl1.Controls.Add(simpleButton1); |
| | | layoutControl1.Controls.Add(TextEditName); |
| | |
| | | layoutControl1.TabIndex = 0; |
| | | layoutControl1.Text = "layoutControl1"; |
| | | // |
| | | // TextEditCaliber |
| | | // |
| | | TextEditCaliber.Location = new Point(72, 32); |
| | | TextEditCaliber.Name = "TextEditCaliber"; |
| | | TextEditCaliber.Properties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] { new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo) }); |
| | | TextEditCaliber.Size = new Size(266, 20); |
| | | TextEditCaliber.StyleController = layoutControl1; |
| | | TextEditCaliber.TabIndex = 3; |
| | | TextEditCaliber.SelectedIndexChanged += TextEditCaliber_SelectedIndexChanged; |
| | | // |
| | | // popupContainerControl1 |
| | | // |
| | | popupContainerControl1.Controls.Add(treeList1); |
| | | popupContainerControl1.Location = new Point(103, 144); |
| | | popupContainerControl1.Name = "popupContainerControl1"; |
| | | popupContainerControl1.Size = new Size(215, 124); |
| | | popupContainerControl1.TabIndex = 15; |
| | | // |
| | | // treeList1 |
| | | // |
| | | treeList1.Columns.AddRange(new DevExpress.XtraTreeList.Columns.TreeListColumn[] { colName, colCaliber, colMaterial, colMinorLoss }); |
| | | treeList1.DataSource = compressorCoefficientViewModelBindingSource; |
| | | treeList1.Dock = DockStyle.Fill; |
| | | treeList1.Location = new Point(0, 0); |
| | | treeList1.Name = "treeList1"; |
| | | treeList1.Size = new Size(215, 124); |
| | | treeList1.TabIndex = 0; |
| | | // |
| | | // colName |
| | | // |
| | | colName.FieldName = "Name"; |
| | | colName.Name = "colName"; |
| | | colName.Visible = true; |
| | | colName.VisibleIndex = 0; |
| | | // |
| | | // colCaliber |
| | | // |
| | | colCaliber.FieldName = "Caliber"; |
| | | colCaliber.Name = "colCaliber"; |
| | | colCaliber.Visible = true; |
| | | colCaliber.VisibleIndex = 1; |
| | | // |
| | | // colMaterial |
| | | // |
| | | colMaterial.FieldName = "Material"; |
| | | colMaterial.Name = "colMaterial"; |
| | | colMaterial.Visible = true; |
| | | colMaterial.VisibleIndex = 2; |
| | | // |
| | | // colMinorLoss |
| | | // |
| | | colMinorLoss.FieldName = "MinorLoss"; |
| | | colMinorLoss.Name = "colMinorLoss"; |
| | | colMinorLoss.Visible = true; |
| | | colMinorLoss.VisibleIndex = 3; |
| | | // |
| | | // compressorCoefficientViewModelBindingSource |
| | | // |
| | | compressorCoefficientViewModelBindingSource.DataSource = typeof(CompressorCoefficientViewModel); |
| | | // |
| | | // BtnOk |
| | | // |
| | | BtnOk.Appearance.BackColor = DevExpress.LookAndFeel.DXSkinColors.FillColors.Primary; |
| | | BtnOk.Appearance.Options.UseBackColor = true; |
| | | BtnOk.Location = new Point(515, 452); |
| | | BtnOk.Location = new Point(536, 452); |
| | | BtnOk.Name = "BtnOk"; |
| | | BtnOk.Size = new Size(81, 22); |
| | | BtnOk.Size = new Size(59, 22); |
| | | BtnOk.StyleController = layoutControl1; |
| | | BtnOk.TabIndex = 6; |
| | | BtnOk.TabIndex = 7; |
| | | BtnOk.Text = "完成"; |
| | | BtnOk.Click += BtnOk_ClickAsync; |
| | | // |
| | |
| | | simpleButton1.Appearance.BackColor = DevExpress.LookAndFeel.DXSkinColors.FillColors.Danger; |
| | | simpleButton1.Appearance.Options.UseBackColor = true; |
| | | simpleButton1.DialogResult = DialogResult.Cancel; |
| | | simpleButton1.Location = new Point(600, 452); |
| | | simpleButton1.Location = new Point(599, 452); |
| | | simpleButton1.Name = "simpleButton1"; |
| | | simpleButton1.Size = new Size(73, 22); |
| | | simpleButton1.Size = new Size(74, 22); |
| | | simpleButton1.StyleController = layoutControl1; |
| | | simpleButton1.TabIndex = 7; |
| | | simpleButton1.TabIndex = 8; |
| | | simpleButton1.Text = "取消"; |
| | | // |
| | | // TextEditName |
| | |
| | | TextEditName.StyleController = layoutControl1; |
| | | TextEditName.TabIndex = 0; |
| | | // |
| | | // textEditDescription |
| | | // DescriptionTextEdit |
| | | // |
| | | DescriptionTextEdit.Location = new Point(20, 89); |
| | | DescriptionTextEdit.Location = new Point(20, 113); |
| | | DescriptionTextEdit.Name = "DescriptionTextEdit"; |
| | | DescriptionTextEdit.Size = new Size(641, 347); |
| | | DescriptionTextEdit.Size = new Size(641, 323); |
| | | DescriptionTextEdit.StyleController = layoutControl1; |
| | | DescriptionTextEdit.TabIndex = 5; |
| | | DescriptionTextEdit.TabIndex = 6; |
| | | // |
| | | // TextEditMaterial |
| | | // |
| | | TextEditMaterial.Location = new Point(72, 32); |
| | | TextEditMaterial.Location = new Point(406, 32); |
| | | TextEditMaterial.Name = "TextEditMaterial"; |
| | | TextEditMaterial.Properties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] { new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo) }); |
| | | TextEditMaterial.Size = new Size(266, 20); |
| | | TextEditMaterial.Size = new Size(267, 20); |
| | | TextEditMaterial.StyleController = layoutControl1; |
| | | TextEditMaterial.TabIndex = 3; |
| | | TextEditMaterial.TabIndex = 4; |
| | | TextEditMaterial.SelectedIndexChanged += TextEditMaterial_SelectedIndexChanged; |
| | | // |
| | | // TextEditMinorLoss |
| | | // |
| | | TextEditMinorLoss.Location = new Point(406, 32); |
| | | TextEditMinorLoss.Name = "TextEditCoefficient"; |
| | | TextEditMinorLoss.Size = new Size(267, 20); |
| | | TextEditMinorLoss.Location = new Point(72, 56); |
| | | TextEditMinorLoss.Name = "TextEditMinorLoss"; |
| | | TextEditMinorLoss.Size = new Size(601, 20); |
| | | TextEditMinorLoss.StyleController = layoutControl1; |
| | | TextEditMinorLoss.TabIndex = 4; |
| | | TextEditMinorLoss.TabIndex = 5; |
| | | // |
| | | // TextEditKeyWord |
| | | // |
| | | TextEditKeyWord.Location = new Point(406, 8); |
| | | TextEditKeyWord.Name = "TextEditKeyWorld"; |
| | | TextEditKeyWord.Name = "TextEditKeyWord"; |
| | | TextEditKeyWord.Size = new Size(267, 20); |
| | | TextEditKeyWord.StyleController = layoutControl1; |
| | | TextEditKeyWord.TabIndex = 2; |
| | |
| | | Root.AppearanceItemCaption.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Far; |
| | | Root.EnableIndentsWithoutBorders = DevExpress.Utils.DefaultBoolean.True; |
| | | Root.GroupBordersVisible = false; |
| | | Root.Items.AddRange(new DevExpress.XtraLayout.BaseLayoutItem[] { layoutControlItem4, emptySpaceItem1, layoutControlItem8, layoutControlItem1, layoutControlGroup5, layoutControlItem12, layoutControlItem7, layoutControlItem6 }); |
| | | Root.Items.AddRange(new DevExpress.XtraLayout.BaseLayoutItem[] { layoutControlItem4, emptySpaceItem1, layoutControlItem8, layoutControlItem1, layoutControlGroup5, layoutControlItem12, layoutControlItem7, layoutControlItem9, layoutControlItem6 }); |
| | | Root.Name = "Root"; |
| | | Root.Padding = new DevExpress.XtraLayout.Utils.Padding(6, 6, 6, 6); |
| | | Root.Size = new Size(681, 482); |
| | |
| | | // layoutControlItem4 |
| | | // |
| | | layoutControlItem4.Control = BtnOk; |
| | | layoutControlItem4.Location = new Point(507, 444); |
| | | layoutControlItem4.Location = new Point(528, 444); |
| | | layoutControlItem4.Name = "layoutControlItem4"; |
| | | layoutControlItem4.Size = new Size(85, 26); |
| | | layoutControlItem4.Size = new Size(63, 26); |
| | | layoutControlItem4.TextSize = new Size(0, 0); |
| | | layoutControlItem4.TextVisible = false; |
| | | // |
| | |
| | | emptySpaceItem1.AllowHotTrack = false; |
| | | emptySpaceItem1.Location = new Point(0, 444); |
| | | emptySpaceItem1.Name = "emptySpaceItem1"; |
| | | emptySpaceItem1.Size = new Size(507, 26); |
| | | emptySpaceItem1.Size = new Size(528, 26); |
| | | emptySpaceItem1.TextSize = new Size(0, 0); |
| | | // |
| | | // layoutControlItem8 |
| | | // |
| | | layoutControlItem8.Control = simpleButton1; |
| | | layoutControlItem8.Location = new Point(592, 444); |
| | | layoutControlItem8.Location = new Point(591, 444); |
| | | layoutControlItem8.Name = "layoutControlItem8"; |
| | | layoutControlItem8.Size = new Size(77, 26); |
| | | layoutControlItem8.Size = new Size(78, 26); |
| | | layoutControlItem8.TextSize = new Size(0, 0); |
| | | layoutControlItem8.TextVisible = false; |
| | | // |
| | |
| | | // layoutControlGroup5 |
| | | // |
| | | layoutControlGroup5.Items.AddRange(new DevExpress.XtraLayout.BaseLayoutItem[] { layoutControlItem5 }); |
| | | layoutControlGroup5.Location = new Point(0, 48); |
| | | layoutControlGroup5.Location = new Point(0, 72); |
| | | layoutControlGroup5.Name = "layoutControlGroup5"; |
| | | layoutControlGroup5.Size = new Size(669, 396); |
| | | layoutControlGroup5.Size = new Size(669, 372); |
| | | layoutControlGroup5.Text = "说明"; |
| | | // |
| | | // layoutControlItem5 |
| | |
| | | layoutControlItem5.Control = DescriptionTextEdit; |
| | | layoutControlItem5.Location = new Point(0, 0); |
| | | layoutControlItem5.Name = "layoutControlItem5"; |
| | | layoutControlItem5.Size = new Size(645, 351); |
| | | layoutControlItem5.Size = new Size(645, 327); |
| | | layoutControlItem5.Text = "说明:"; |
| | | layoutControlItem5.TextAlignMode = DevExpress.XtraLayout.TextAlignModeItem.CustomSize; |
| | | layoutControlItem5.TextSize = new Size(0, 0); |
| | |
| | | // layoutControlItem12 |
| | | // |
| | | layoutControlItem12.Control = TextEditMaterial; |
| | | layoutControlItem12.Location = new Point(0, 24); |
| | | layoutControlItem12.Location = new Point(334, 24); |
| | | layoutControlItem12.Name = "layoutControlItem12"; |
| | | layoutControlItem12.Size = new Size(334, 24); |
| | | layoutControlItem12.Size = new Size(335, 24); |
| | | layoutControlItem12.Text = "材料:"; |
| | | layoutControlItem12.TextSize = new Size(52, 14); |
| | | // |
| | |
| | | layoutControlItem7.Text = "关键字:"; |
| | | layoutControlItem7.TextSize = new Size(52, 14); |
| | | // |
| | | // layoutControlItem9 |
| | | // |
| | | layoutControlItem9.Control = TextEditCaliber; |
| | | layoutControlItem9.Location = new Point(0, 24); |
| | | layoutControlItem9.Name = "layoutControlItem9"; |
| | | layoutControlItem9.Size = new Size(334, 24); |
| | | layoutControlItem9.Text = "口径:"; |
| | | layoutControlItem9.TextSize = new Size(52, 14); |
| | | // |
| | | // layoutControlItem6 |
| | | // |
| | | layoutControlItem6.Control = TextEditMinorLoss; |
| | | layoutControlItem6.Location = new Point(334, 24); |
| | | layoutControlItem6.Location = new Point(0, 48); |
| | | layoutControlItem6.Name = "layoutControlItem6"; |
| | | layoutControlItem6.Size = new Size(335, 24); |
| | | layoutControlItem6.Size = new Size(669, 24); |
| | | layoutControlItem6.Text = "损失系数:"; |
| | | layoutControlItem6.TextSize = new Size(52, 14); |
| | | // |
| | |
| | | Text = "编辑空压机"; |
| | | ((System.ComponentModel.ISupportInitialize)layoutControl1).EndInit(); |
| | | layoutControl1.ResumeLayout(false); |
| | | ((System.ComponentModel.ISupportInitialize)TextEditCaliber.Properties).EndInit(); |
| | | ((System.ComponentModel.ISupportInitialize)popupContainerControl1).EndInit(); |
| | | popupContainerControl1.ResumeLayout(false); |
| | | ((System.ComponentModel.ISupportInitialize)treeList1).EndInit(); |
| | | ((System.ComponentModel.ISupportInitialize)compressorCoefficientViewModelBindingSource).EndInit(); |
| | | ((System.ComponentModel.ISupportInitialize)TextEditName.Properties).EndInit(); |
| | | ((System.ComponentModel.ISupportInitialize)DescriptionTextEdit.Properties).EndInit(); |
| | | ((System.ComponentModel.ISupportInitialize)TextEditMaterial.Properties).EndInit(); |
| | |
| | | ((System.ComponentModel.ISupportInitialize)layoutControlItem5).EndInit(); |
| | | ((System.ComponentModel.ISupportInitialize)layoutControlItem12).EndInit(); |
| | | ((System.ComponentModel.ISupportInitialize)layoutControlItem7).EndInit(); |
| | | ((System.ComponentModel.ISupportInitialize)layoutControlItem9).EndInit(); |
| | | ((System.ComponentModel.ISupportInitialize)layoutControlItem6).EndInit(); |
| | | ((System.ComponentModel.ISupportInitialize)dxErrorProvider1).EndInit(); |
| | | ((System.ComponentModel.ISupportInitialize)layoutControlItem13).EndInit(); |
| | |
| | | private DevExpress.XtraLayout.LayoutControlItem layoutControlItem3; |
| | | private DevExpress.XtraEditors.TextEdit TextEditMinorLoss; |
| | | private DevExpress.XtraLayout.LayoutControlItem layoutControlItem6; |
| | | private DevExpress.XtraEditors.PopupContainerControl popupContainerControl1; |
| | | private DevExpress.XtraTreeList.TreeList treeList1; |
| | | private DevExpress.XtraTreeList.Columns.TreeListColumn colName; |
| | | private DevExpress.XtraTreeList.Columns.TreeListColumn colCaliber; |
| | | private DevExpress.XtraTreeList.Columns.TreeListColumn colMaterial; |
| | | private DevExpress.XtraTreeList.Columns.TreeListColumn colMinorLoss; |
| | | private BindingSource compressorCoefficientViewModelBindingSource; |
| | | private DevExpress.XtraEditors.ImageComboBoxEdit TextEditCaliber; |
| | | private DevExpress.XtraLayout.LayoutControlItem layoutControlItem9; |
| | | } |
| | | } |