| | |
| | | { |
| | | components = new System.ComponentModel.Container(); |
| | | layoutControl1 = new DevExpress.XtraLayout.LayoutControl(); |
| | | popupContainerControl1 = new DevExpress.XtraEditors.PopupContainerControl(); |
| | | treeList1 = new DevExpress.XtraTreeList.TreeList(); |
| | | colName = new DevExpress.XtraTreeList.Columns.TreeListColumn(); |
| | | colMaterial = new DevExpress.XtraTreeList.Columns.TreeListColumn(); |
| | | colMinorLoss = new DevExpress.XtraTreeList.Columns.TreeListColumn(); |
| | | exchangerCoefficientViewModelBindingSource = new BindingSource(components); |
| | | BtnOk = new DevExpress.XtraEditors.SimpleButton(); |
| | | simpleButton1 = new DevExpress.XtraEditors.SimpleButton(); |
| | | TextEditName = new DevExpress.XtraEditors.TextEdit(); |
| | | DescriptionTextEdit = new DevExpress.XtraEditors.MemoEdit(); |
| | | TextEditCaliber = new DevExpress.XtraEditors.ImageComboBoxEdit(); |
| | | TextEditMaterial = new DevExpress.XtraEditors.ImageComboBoxEdit(); |
| | | TextEditCoefficient = new DevExpress.XtraEditors.TextEdit(); |
| | | TextEditKeyWorld = new DevExpress.XtraEditors.TextEdit(); |
| | | TextEditKeyWord = new DevExpress.XtraEditors.TextEdit(); |
| | | TextEditMinorLoss = new DevExpress.XtraEditors.PopupContainerEdit(); |
| | | Root = new DevExpress.XtraLayout.LayoutControlGroup(); |
| | | layoutControlItem4 = new DevExpress.XtraLayout.LayoutControlItem(); |
| | | emptySpaceItem1 = new DevExpress.XtraLayout.EmptySpaceItem(); |
| | | layoutControlItem8 = new DevExpress.XtraLayout.LayoutControlItem(); |
| | | layoutControlItem1 = new DevExpress.XtraLayout.LayoutControlItem(); |
| | | layoutControlItem9 = new DevExpress.XtraLayout.LayoutControlItem(); |
| | | layoutControlGroup5 = new DevExpress.XtraLayout.LayoutControlGroup(); |
| | | layoutControlItem5 = new DevExpress.XtraLayout.LayoutControlItem(); |
| | | layoutControlItem12 = new DevExpress.XtraLayout.LayoutControlItem(); |
| | |
| | | layoutControlItem3 = new DevExpress.XtraLayout.LayoutControlItem(); |
| | | ((System.ComponentModel.ISupportInitialize)layoutControl1).BeginInit(); |
| | | layoutControl1.SuspendLayout(); |
| | | ((System.ComponentModel.ISupportInitialize)popupContainerControl1).BeginInit(); |
| | | popupContainerControl1.SuspendLayout(); |
| | | ((System.ComponentModel.ISupportInitialize)treeList1).BeginInit(); |
| | | ((System.ComponentModel.ISupportInitialize)exchangerCoefficientViewModelBindingSource).BeginInit(); |
| | | ((System.ComponentModel.ISupportInitialize)TextEditName.Properties).BeginInit(); |
| | | ((System.ComponentModel.ISupportInitialize)DescriptionTextEdit.Properties).BeginInit(); |
| | | ((System.ComponentModel.ISupportInitialize)TextEditCaliber.Properties).BeginInit(); |
| | | ((System.ComponentModel.ISupportInitialize)TextEditMaterial.Properties).BeginInit(); |
| | | ((System.ComponentModel.ISupportInitialize)TextEditCoefficient.Properties).BeginInit(); |
| | | ((System.ComponentModel.ISupportInitialize)TextEditKeyWorld.Properties).BeginInit(); |
| | | ((System.ComponentModel.ISupportInitialize)TextEditKeyWord.Properties).BeginInit(); |
| | | ((System.ComponentModel.ISupportInitialize)TextEditMinorLoss.Properties).BeginInit(); |
| | | ((System.ComponentModel.ISupportInitialize)Root).BeginInit(); |
| | | ((System.ComponentModel.ISupportInitialize)layoutControlItem4).BeginInit(); |
| | | ((System.ComponentModel.ISupportInitialize)emptySpaceItem1).BeginInit(); |
| | | ((System.ComponentModel.ISupportInitialize)layoutControlItem8).BeginInit(); |
| | | ((System.ComponentModel.ISupportInitialize)layoutControlItem1).BeginInit(); |
| | | ((System.ComponentModel.ISupportInitialize)layoutControlItem9).BeginInit(); |
| | | ((System.ComponentModel.ISupportInitialize)layoutControlGroup5).BeginInit(); |
| | | ((System.ComponentModel.ISupportInitialize)layoutControlItem5).BeginInit(); |
| | | ((System.ComponentModel.ISupportInitialize)layoutControlItem12).BeginInit(); |
| | |
| | | // |
| | | // layoutControl1 |
| | | // |
| | | layoutControl1.Controls.Add(popupContainerControl1); |
| | | layoutControl1.Controls.Add(BtnOk); |
| | | layoutControl1.Controls.Add(simpleButton1); |
| | | layoutControl1.Controls.Add(TextEditName); |
| | | layoutControl1.Controls.Add(DescriptionTextEdit); |
| | | layoutControl1.Controls.Add(TextEditCaliber); |
| | | layoutControl1.Controls.Add(TextEditMaterial); |
| | | layoutControl1.Controls.Add(TextEditCoefficient); |
| | | layoutControl1.Controls.Add(TextEditKeyWorld); |
| | | layoutControl1.Controls.Add(TextEditKeyWord); |
| | | layoutControl1.Controls.Add(TextEditMinorLoss); |
| | | layoutControl1.Dock = DockStyle.Fill; |
| | | layoutControl1.Location = new Point(0, 0); |
| | | layoutControl1.Name = "layoutControl1"; |
| | |
| | | layoutControl1.TabIndex = 0; |
| | | layoutControl1.Text = "layoutControl1"; |
| | | // |
| | | // popupContainerControl1 |
| | | // |
| | | popupContainerControl1.Controls.Add(treeList1); |
| | | popupContainerControl1.Location = new Point(53, 148); |
| | | popupContainerControl1.Name = "popupContainerControl1"; |
| | | popupContainerControl1.Size = new Size(215, 124); |
| | | popupContainerControl1.TabIndex = 16; |
| | | // |
| | | // treeList1 |
| | | // |
| | | treeList1.Columns.AddRange(new DevExpress.XtraTreeList.Columns.TreeListColumn[] { colName, colMaterial, colMinorLoss }); |
| | | treeList1.DataSource = exchangerCoefficientViewModelBindingSource; |
| | | treeList1.Dock = DockStyle.Fill; |
| | | treeList1.Location = new Point(0, 0); |
| | | treeList1.Name = "treeList1"; |
| | | treeList1.Size = new Size(215, 124); |
| | | treeList1.TabIndex = 0; |
| | | treeList1.FocusedNodeChanged += treeList1_FocusedNodeChanged; |
| | | // |
| | | // colName |
| | | // |
| | | colName.Caption = "名称"; |
| | | colName.FieldName = "Name"; |
| | | colName.Name = "colName"; |
| | | colName.Visible = true; |
| | | colName.VisibleIndex = 0; |
| | | // |
| | | // colMaterial |
| | | // |
| | | colMaterial.Caption = "材料"; |
| | | colMaterial.FieldName = "Material"; |
| | | colMaterial.Name = "colMaterial"; |
| | | colMaterial.Visible = true; |
| | | colMaterial.VisibleIndex = 1; |
| | | // |
| | | // colMinorLoss |
| | | // |
| | | colMinorLoss.Caption = "局阻系数"; |
| | | colMinorLoss.FieldName = "MinorLoss"; |
| | | colMinorLoss.Name = "colMinorLoss"; |
| | | colMinorLoss.Visible = true; |
| | | colMinorLoss.VisibleIndex = 2; |
| | | // |
| | | // exchangerCoefficientViewModelBindingSource |
| | | // |
| | | exchangerCoefficientViewModelBindingSource.DataSource = typeof(ExchangerCoefficientViewModel); |
| | | // |
| | | // BtnOk |
| | | // |
| | | BtnOk.Appearance.BackColor = DevExpress.LookAndFeel.DXSkinColors.FillColors.Primary; |
| | |
| | | BtnOk.Name = "BtnOk"; |
| | | BtnOk.Size = new Size(81, 22); |
| | | BtnOk.StyleController = layoutControl1; |
| | | BtnOk.TabIndex = 9; |
| | | BtnOk.Text = "完成"; |
| | | BtnOk.TabIndex = 6; |
| | | BtnOk.Text = "确定"; |
| | | BtnOk.Click += BtnOk_ClickAsync; |
| | | // |
| | | // simpleButton1 |
| | | // |
| | | simpleButton1.Appearance.BackColor = DevExpress.LookAndFeel.DXSkinColors.FillColors.Danger; |
| | | simpleButton1.Appearance.BackColor = DevExpress.LookAndFeel.DXSkinColors.FillColors.Warning; |
| | | simpleButton1.Appearance.Options.UseBackColor = true; |
| | | simpleButton1.DialogResult = DialogResult.Cancel; |
| | | simpleButton1.Location = new Point(600, 452); |
| | | simpleButton1.Name = "simpleButton1"; |
| | | simpleButton1.Size = new Size(73, 22); |
| | | simpleButton1.StyleController = layoutControl1; |
| | | simpleButton1.TabIndex = 10; |
| | | simpleButton1.TabIndex = 7; |
| | | simpleButton1.Text = "取消"; |
| | | // |
| | | // TextEditName |
| | |
| | | // |
| | | // DescriptionTextEdit |
| | | // |
| | | DescriptionTextEdit.Location = new Point(20, 113); |
| | | DescriptionTextEdit.Location = new Point(20, 89); |
| | | DescriptionTextEdit.Name = "DescriptionTextEdit"; |
| | | DescriptionTextEdit.Size = new Size(641, 323); |
| | | DescriptionTextEdit.Size = new Size(641, 347); |
| | | DescriptionTextEdit.StyleController = layoutControl1; |
| | | DescriptionTextEdit.TabIndex = 8; |
| | | // |
| | | // 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; |
| | | DescriptionTextEdit.TabIndex = 5; |
| | | // |
| | | // TextEditMaterial |
| | | // |
| | | TextEditMaterial.Location = new Point(406, 32); |
| | | TextEditMaterial.Location = new Point(72, 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(267, 20); |
| | | TextEditMaterial.Size = new Size(266, 20); |
| | | TextEditMaterial.StyleController = layoutControl1; |
| | | TextEditMaterial.TabIndex = 4; |
| | | TextEditMaterial.TabIndex = 3; |
| | | TextEditMaterial.SelectedIndexChanged += TextEditMaterial_SelectedIndexChanged; |
| | | // |
| | | // TextEditCoefficient |
| | | // TextEditKeyWord |
| | | // |
| | | TextEditCoefficient.Location = new Point(72, 56); |
| | | TextEditCoefficient.Name = "TextEditCoefficient"; |
| | | TextEditCoefficient.Size = new Size(601, 20); |
| | | TextEditCoefficient.StyleController = layoutControl1; |
| | | TextEditCoefficient.TabIndex = 2; |
| | | TextEditKeyWord.Location = new Point(406, 8); |
| | | TextEditKeyWord.Name = "TextEditKeyWord"; |
| | | TextEditKeyWord.Size = new Size(267, 20); |
| | | TextEditKeyWord.StyleController = layoutControl1; |
| | | TextEditKeyWord.TabIndex = 2; |
| | | // |
| | | // TextEditKeyWorld |
| | | // TextEditMinorLoss |
| | | // |
| | | TextEditKeyWorld.Location = new Point(406, 8); |
| | | TextEditKeyWorld.Name = "TextEditKeyWorld"; |
| | | TextEditKeyWorld.Size = new Size(267, 20); |
| | | TextEditKeyWorld.StyleController = layoutControl1; |
| | | TextEditKeyWorld.TabIndex = 2; |
| | | TextEditMinorLoss.Location = new Point(406, 32); |
| | | TextEditMinorLoss.Name = "TextEditMinorLoss"; |
| | | TextEditMinorLoss.Properties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] { new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo) }); |
| | | TextEditMinorLoss.Properties.PopupControl = popupContainerControl1; |
| | | TextEditMinorLoss.Size = new Size(267, 20); |
| | | TextEditMinorLoss.StyleController = layoutControl1; |
| | | TextEditMinorLoss.TabIndex = 4; |
| | | // |
| | | // Root |
| | | // |
| | |
| | | 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, layoutControlItem9, layoutControlGroup5, layoutControlItem12, layoutControlItem7, layoutControlItem6 }); |
| | | Root.Items.AddRange(new DevExpress.XtraLayout.BaseLayoutItem[] { layoutControlItem4, emptySpaceItem1, layoutControlItem8, layoutControlItem1, layoutControlGroup5, layoutControlItem12, layoutControlItem7, layoutControlItem6 }); |
| | | Root.Name = "Root"; |
| | | Root.Padding = new DevExpress.XtraLayout.Utils.Padding(6, 6, 6, 6); |
| | | Root.Size = new Size(681, 482); |
| | |
| | | layoutControlItem1.Text = "<color=red>*</color>型号:"; |
| | | layoutControlItem1.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); |
| | | // |
| | | // layoutControlGroup5 |
| | | // |
| | | layoutControlGroup5.Items.AddRange(new DevExpress.XtraLayout.BaseLayoutItem[] { layoutControlItem5 }); |
| | | layoutControlGroup5.Location = new Point(0, 72); |
| | | layoutControlGroup5.Location = new Point(0, 48); |
| | | layoutControlGroup5.Name = "layoutControlGroup5"; |
| | | layoutControlGroup5.Size = new Size(669, 372); |
| | | layoutControlGroup5.Size = new Size(669, 396); |
| | | layoutControlGroup5.Text = "说明"; |
| | | // |
| | | // layoutControlItem5 |
| | |
| | | layoutControlItem5.Control = DescriptionTextEdit; |
| | | layoutControlItem5.Location = new Point(0, 0); |
| | | layoutControlItem5.Name = "layoutControlItem5"; |
| | | layoutControlItem5.Size = new Size(645, 327); |
| | | layoutControlItem5.Size = new Size(645, 351); |
| | | layoutControlItem5.Text = "说明:"; |
| | | layoutControlItem5.TextAlignMode = DevExpress.XtraLayout.TextAlignModeItem.CustomSize; |
| | | layoutControlItem5.TextSize = new Size(0, 0); |
| | |
| | | // layoutControlItem12 |
| | | // |
| | | layoutControlItem12.Control = TextEditMaterial; |
| | | layoutControlItem12.Location = new Point(334, 24); |
| | | layoutControlItem12.Location = new Point(0, 24); |
| | | layoutControlItem12.Name = "layoutControlItem12"; |
| | | layoutControlItem12.Size = new Size(335, 24); |
| | | layoutControlItem12.Size = new Size(334, 24); |
| | | layoutControlItem12.Text = "材料:"; |
| | | layoutControlItem12.TextSize = new Size(52, 14); |
| | | // |
| | | // layoutControlItem7 |
| | | // |
| | | layoutControlItem7.Control = TextEditKeyWorld; |
| | | layoutControlItem7.Control = TextEditKeyWord; |
| | | layoutControlItem7.Location = new Point(334, 0); |
| | | layoutControlItem7.Name = "layoutControlItem7"; |
| | | layoutControlItem7.Size = new Size(335, 24); |
| | |
| | | // |
| | | // layoutControlItem6 |
| | | // |
| | | layoutControlItem6.Control = TextEditCoefficient; |
| | | layoutControlItem6.Location = new Point(0, 48); |
| | | layoutControlItem6.Control = TextEditMinorLoss; |
| | | layoutControlItem6.Location = new Point(334, 24); |
| | | layoutControlItem6.Name = "layoutControlItem6"; |
| | | layoutControlItem6.Size = new Size(669, 24); |
| | | layoutControlItem6.Size = new Size(335, 24); |
| | | layoutControlItem6.Text = "损失系数:"; |
| | | layoutControlItem6.TextSize = new Size(52, 14); |
| | | // |
| | |
| | | layoutControlItem3.Text = "损失系数:"; |
| | | layoutControlItem3.TextSize = new Size(52, 14); |
| | | // |
| | | // EditAssetsFourlinkMainDlg |
| | | // EditExchangerMainDlg |
| | | // |
| | | AutoScaleDimensions = new SizeF(7F, 14F); |
| | | AutoScaleMode = AutoScaleMode.Font; |
| | | ClientSize = new Size(681, 482); |
| | | Controls.Add(layoutControl1); |
| | | Name = "EditAssetsFourlinkMainDlg"; |
| | | Name = "EditExchangerMainDlg"; |
| | | StartPosition = FormStartPosition.CenterScreen; |
| | | Text = "编辑四通"; |
| | | Text = "编辑换热器"; |
| | | ((System.ComponentModel.ISupportInitialize)layoutControl1).EndInit(); |
| | | layoutControl1.ResumeLayout(false); |
| | | ((System.ComponentModel.ISupportInitialize)popupContainerControl1).EndInit(); |
| | | popupContainerControl1.ResumeLayout(false); |
| | | ((System.ComponentModel.ISupportInitialize)treeList1).EndInit(); |
| | | ((System.ComponentModel.ISupportInitialize)exchangerCoefficientViewModelBindingSource).EndInit(); |
| | | ((System.ComponentModel.ISupportInitialize)TextEditName.Properties).EndInit(); |
| | | ((System.ComponentModel.ISupportInitialize)DescriptionTextEdit.Properties).EndInit(); |
| | | ((System.ComponentModel.ISupportInitialize)TextEditCaliber.Properties).EndInit(); |
| | | ((System.ComponentModel.ISupportInitialize)TextEditMaterial.Properties).EndInit(); |
| | | ((System.ComponentModel.ISupportInitialize)TextEditCoefficient.Properties).EndInit(); |
| | | ((System.ComponentModel.ISupportInitialize)TextEditKeyWorld.Properties).EndInit(); |
| | | ((System.ComponentModel.ISupportInitialize)TextEditKeyWord.Properties).EndInit(); |
| | | ((System.ComponentModel.ISupportInitialize)TextEditMinorLoss.Properties).EndInit(); |
| | | ((System.ComponentModel.ISupportInitialize)Root).EndInit(); |
| | | ((System.ComponentModel.ISupportInitialize)layoutControlItem4).EndInit(); |
| | | ((System.ComponentModel.ISupportInitialize)emptySpaceItem1).EndInit(); |
| | | ((System.ComponentModel.ISupportInitialize)layoutControlItem8).EndInit(); |
| | | ((System.ComponentModel.ISupportInitialize)layoutControlItem1).EndInit(); |
| | | ((System.ComponentModel.ISupportInitialize)layoutControlItem9).EndInit(); |
| | | ((System.ComponentModel.ISupportInitialize)layoutControlGroup5).EndInit(); |
| | | ((System.ComponentModel.ISupportInitialize)layoutControlItem5).EndInit(); |
| | | ((System.ComponentModel.ISupportInitialize)layoutControlItem12).EndInit(); |
| | |
| | | private DevExpress.XtraEditors.SimpleButton simpleButton1; |
| | | private DevExpress.XtraLayout.EmptySpaceItem emptySpaceItem1; |
| | | private DevExpress.XtraLayout.LayoutControlItem layoutControlItem8; |
| | | private DevExpress.XtraLayout.LayoutControlItem layoutControlItem9; |
| | | private DevExpress.XtraLayout.LayoutControlItem layoutControlItem12; |
| | | private DevExpress.XtraLayout.LayoutControlItem layoutControlItem5; |
| | | private DevExpress.XtraEditors.SimpleButton btnCancel; |
| | |
| | | private DevExpress.XtraLayout.LayoutControlGroup layoutControlGroup3; |
| | | private DevExpress.XtraLayout.LayoutControlGroup layoutControlGroup4; |
| | | private DevExpress.XtraLayout.LayoutControlItem layoutControlItem27; |
| | | private DevExpress.XtraEditors.ImageComboBoxEdit TextEditCaliber; |
| | | private DevExpress.XtraEditors.ImageComboBoxEdit TextEditMaterial; |
| | | private DevExpress.XtraLayout.LayoutControlGroup layoutControlGroup5; |
| | | private DevExpress.Utils.ToolTipController toolTipController1; |
| | | private DevExpress.XtraEditors.TextEdit TextEditKeyWorld; |
| | | private DevExpress.XtraEditors.TextEdit TextEditKeyWord; |
| | | private DevExpress.XtraLayout.LayoutControlItem layoutControlItem7; |
| | | private DevExpress.XtraLayout.LayoutControlItem layoutControlItem2; |
| | | private DevExpress.XtraLayout.LayoutControlItem layoutControlItem3; |
| | | private DevExpress.XtraEditors.TextEdit TextEditCoefficient; |
| | | 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 colMaterial; |
| | | private DevExpress.XtraTreeList.Columns.TreeListColumn colMinorLoss; |
| | | private BindingSource exchangerCoefficientViewModelBindingSource; |
| | | private DevExpress.XtraEditors.PopupContainerEdit TextEditMinorLoss; |
| | | } |
| | | } |