| | |
| | | TextEditName = new DevExpress.XtraEditors.TextEdit(); |
| | | DescriptionTextEdit = new DevExpress.XtraEditors.MemoEdit(); |
| | | TextEditMaterial = new DevExpress.XtraEditors.ImageComboBoxEdit(); |
| | | TextEditMinorLoss = 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(); |
| | |
| | | ((System.ComponentModel.ISupportInitialize)TextEditName.Properties).BeginInit(); |
| | | ((System.ComponentModel.ISupportInitialize)DescriptionTextEdit.Properties).BeginInit(); |
| | | ((System.ComponentModel.ISupportInitialize)TextEditMaterial.Properties).BeginInit(); |
| | | ((System.ComponentModel.ISupportInitialize)TextEditMinorLoss.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(); |
| | |
| | | layoutControl1.Controls.Add(TextEditName); |
| | | layoutControl1.Controls.Add(DescriptionTextEdit); |
| | | layoutControl1.Controls.Add(TextEditMaterial); |
| | | layoutControl1.Controls.Add(TextEditMinorLoss); |
| | | layoutControl1.Controls.Add(TextEditKeyWord); |
| | | layoutControl1.Controls.Add(TextEditMinorLoss); |
| | | layoutControl1.Dock = DockStyle.Fill; |
| | | layoutControl1.Location = new Point(0, 0); |
| | | layoutControl1.Name = "layoutControl1"; |
| | |
| | | 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; |
| | |
| | | // |
| | | // colMaterial |
| | | // |
| | | colMaterial.Caption = "材料"; |
| | | colMaterial.FieldName = "Material"; |
| | | colMaterial.Name = "colMaterial"; |
| | | colMaterial.Visible = true; |
| | |
| | | // |
| | | // colMinorLoss |
| | | // |
| | | colMinorLoss.Caption = "局阻系数"; |
| | | colMinorLoss.FieldName = "MinorLoss"; |
| | | colMinorLoss.Name = "colMinorLoss"; |
| | | colMinorLoss.Visible = true; |
| | |
| | | BtnOk.Size = new Size(81, 22); |
| | | BtnOk.StyleController = layoutControl1; |
| | | BtnOk.TabIndex = 6; |
| | | BtnOk.Text = "完成"; |
| | | 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); |
| | |
| | | TextEditMaterial.TabIndex = 3; |
| | | TextEditMaterial.SelectedIndexChanged += TextEditMaterial_SelectedIndexChanged; |
| | | // |
| | | // TextEditMinorLoss |
| | | // |
| | | TextEditMinorLoss.Location = new Point(406, 32); |
| | | TextEditMinorLoss.Name = "TextEditMinorLoss"; |
| | | TextEditMinorLoss.Size = new Size(267, 20); |
| | | TextEditMinorLoss.StyleController = layoutControl1; |
| | | TextEditMinorLoss.TabIndex = 4; |
| | | // |
| | | // TextEditKeyWord |
| | | // |
| | | TextEditKeyWord.Location = new Point(406, 8); |
| | |
| | | TextEditKeyWord.Size = new Size(267, 20); |
| | | TextEditKeyWord.StyleController = layoutControl1; |
| | | TextEditKeyWord.TabIndex = 2; |
| | | // |
| | | // TextEditMinorLoss |
| | | // |
| | | 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 |
| | | // |
| | |
| | | ((System.ComponentModel.ISupportInitialize)TextEditName.Properties).EndInit(); |
| | | ((System.ComponentModel.ISupportInitialize)DescriptionTextEdit.Properties).EndInit(); |
| | | ((System.ComponentModel.ISupportInitialize)TextEditMaterial.Properties).EndInit(); |
| | | ((System.ComponentModel.ISupportInitialize)TextEditMinorLoss.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(); |
| | |
| | | private DevExpress.XtraLayout.LayoutControlItem layoutControlItem7; |
| | | private DevExpress.XtraLayout.LayoutControlItem layoutControlItem2; |
| | | 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 colMaterial; |
| | | private DevExpress.XtraTreeList.Columns.TreeListColumn colMinorLoss; |
| | | private BindingSource exchangerCoefficientViewModelBindingSource; |
| | | private DevExpress.XtraEditors.PopupContainerEdit TextEditMinorLoss; |
| | | } |
| | | } |