| | |
| | | { |
| | | components = new System.ComponentModel.Container(); |
| | | layoutControl1 = new DevExpress.XtraLayout.LayoutControl(); |
| | | selectFlagsPopupCtrl1 = new SelectFlagsPopupCtrl(); |
| | | popupContainerControl1 = new DevExpress.XtraEditors.PopupContainerControl(); |
| | | treeList1 = new DevExpress.XtraTreeList.TreeList(); |
| | | colName = new DevExpress.XtraTreeList.Columns.TreeListColumn(); |
| | |
| | | layoutControlItem3 = new DevExpress.XtraLayout.LayoutControlItem(); |
| | | layoutControlItem6 = new DevExpress.XtraLayout.LayoutControlItem(); |
| | | layoutControlItem7 = new DevExpress.XtraLayout.LayoutControlItem(); |
| | | layoutControlItem10 = new DevExpress.XtraLayout.LayoutControlItem(); |
| | | dxErrorProvider1 = new DevExpress.XtraEditors.DXErrorProvider.DXErrorProvider(components); |
| | | layoutControlItem13 = new DevExpress.XtraLayout.LayoutControlItem(); |
| | | imageComboBoxEdit1 = new DevExpress.XtraEditors.ImageComboBoxEdit(); |
| | |
| | | ((System.ComponentModel.ISupportInitialize)layoutControlItem3).BeginInit(); |
| | | ((System.ComponentModel.ISupportInitialize)layoutControlItem6).BeginInit(); |
| | | ((System.ComponentModel.ISupportInitialize)layoutControlItem7).BeginInit(); |
| | | ((System.ComponentModel.ISupportInitialize)layoutControlItem10).BeginInit(); |
| | | ((System.ComponentModel.ISupportInitialize)dxErrorProvider1).BeginInit(); |
| | | ((System.ComponentModel.ISupportInitialize)layoutControlItem13).BeginInit(); |
| | | ((System.ComponentModel.ISupportInitialize)imageComboBoxEdit1.Properties).BeginInit(); |
| | |
| | | // |
| | | // layoutControl1 |
| | | // |
| | | layoutControl1.Controls.Add(selectFlagsPopupCtrl1); |
| | | layoutControl1.Controls.Add(popupContainerControl1); |
| | | layoutControl1.Controls.Add(BtnOk); |
| | | layoutControl1.Controls.Add(simpleButton1); |
| | |
| | | layoutControl1.TabIndex = 0; |
| | | layoutControl1.Text = "layoutControl1"; |
| | | // |
| | | // selectFlagsPopupCtrl1 |
| | | // |
| | | selectFlagsPopupCtrl1.Location = new Point(406, 80); |
| | | selectFlagsPopupCtrl1.Name = "selectFlagsPopupCtrl1"; |
| | | selectFlagsPopupCtrl1.Size = new Size(267, 20); |
| | | selectFlagsPopupCtrl1.TabIndex = 8; |
| | | // |
| | | // popupContainerControl1 |
| | | // |
| | | popupContainerControl1.Controls.Add(treeList1); |
| | | popupContainerControl1.Location = new Point(44, 140); |
| | | popupContainerControl1.Name = "popupContainerControl1"; |
| | | popupContainerControl1.Size = new Size(215, 124); |
| | | popupContainerControl1.TabIndex = 11; |
| | | popupContainerControl1.TabIndex = 1; |
| | | // |
| | | // treeList1 |
| | | // |
| | |
| | | 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; |
| | |
| | | // |
| | | // colCaliber |
| | | // |
| | | colCaliber.Caption = "口径"; |
| | | colCaliber.FieldName = "Caliber"; |
| | | colCaliber.Name = "colCaliber"; |
| | | colCaliber.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.Name = "BtnOk"; |
| | | BtnOk.Size = new Size(89, 22); |
| | | BtnOk.StyleController = layoutControl1; |
| | | BtnOk.TabIndex = 9; |
| | | BtnOk.Text = "完成"; |
| | | BtnOk.TabIndex = 10; |
| | | 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(588, 452); |
| | | simpleButton1.Name = "simpleButton1"; |
| | | simpleButton1.Size = new Size(85, 22); |
| | | simpleButton1.StyleController = layoutControl1; |
| | | simpleButton1.TabIndex = 10; |
| | | simpleButton1.TabIndex = 11; |
| | | simpleButton1.Text = "取消"; |
| | | // |
| | | // textEditAngle |
| | |
| | | DescriptionTextEdit.Name = "DescriptionTextEdit"; |
| | | DescriptionTextEdit.Size = new Size(641, 299); |
| | | DescriptionTextEdit.StyleController = layoutControl1; |
| | | DescriptionTextEdit.TabIndex = 8; |
| | | DescriptionTextEdit.TabIndex = 9; |
| | | // |
| | | // TextEditCaliber |
| | | // |
| | |
| | | TextEditCoefficient.Properties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] { new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo) }); |
| | | TextEditCoefficient.Properties.PopupControl = popupContainerControl1; |
| | | TextEditCoefficient.Properties.TextEditStyle = DevExpress.XtraEditors.Controls.TextEditStyles.Standard; |
| | | TextEditCoefficient.Size = new Size(601, 20); |
| | | TextEditCoefficient.Size = new Size(266, 20); |
| | | TextEditCoefficient.StyleController = layoutControl1; |
| | | TextEditCoefficient.TabIndex = 7; |
| | | // |
| | |
| | | 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, layoutControlItem12, layoutControlGroup5, layoutControlItem9, layoutControlItem2, layoutControlItem3, layoutControlItem6, layoutControlItem7 }); |
| | | Root.Items.AddRange(new DevExpress.XtraLayout.BaseLayoutItem[] { layoutControlItem4, emptySpaceItem1, layoutControlItem8, layoutControlItem1, layoutControlItem12, layoutControlGroup5, layoutControlItem9, layoutControlItem2, layoutControlItem3, layoutControlItem6, layoutControlItem7, layoutControlItem10 }); |
| | | Root.Name = "Root"; |
| | | Root.Padding = new DevExpress.XtraLayout.Utils.Padding(6, 6, 6, 6); |
| | | Root.Size = new Size(681, 482); |
| | |
| | | layoutControlItem3.Control = TextEditCoefficient; |
| | | layoutControlItem3.Location = new Point(0, 72); |
| | | layoutControlItem3.Name = "layoutControlItem3"; |
| | | layoutControlItem3.Size = new Size(669, 24); |
| | | layoutControlItem3.Size = new Size(334, 24); |
| | | layoutControlItem3.Text = "损失系数:"; |
| | | layoutControlItem3.TextSize = new Size(52, 14); |
| | | // |
| | |
| | | layoutControlItem6.Location = new Point(0, 48); |
| | | layoutControlItem6.Name = "layoutControlItem6"; |
| | | layoutControlItem6.Size = new Size(334, 24); |
| | | layoutControlItem6.Text = "连接长度:"; |
| | | layoutControlItem6.Text = "弯头类型:"; |
| | | layoutControlItem6.TextSize = new Size(52, 14); |
| | | // |
| | | // layoutControlItem7 |
| | |
| | | layoutControlItem7.Size = new Size(335, 24); |
| | | layoutControlItem7.Text = "角度:"; |
| | | layoutControlItem7.TextSize = new Size(52, 14); |
| | | // |
| | | // layoutControlItem10 |
| | | // |
| | | layoutControlItem10.Control = selectFlagsPopupCtrl1; |
| | | layoutControlItem10.Location = new Point(334, 72); |
| | | layoutControlItem10.Name = "layoutControlItem10"; |
| | | layoutControlItem10.Size = new Size(335, 24); |
| | | layoutControlItem10.Text = "标签列表:"; |
| | | layoutControlItem10.TextSize = new Size(52, 14); |
| | | // |
| | | // dxErrorProvider1 |
| | | // |
| | |
| | | ((System.ComponentModel.ISupportInitialize)layoutControlItem3).EndInit(); |
| | | ((System.ComponentModel.ISupportInitialize)layoutControlItem6).EndInit(); |
| | | ((System.ComponentModel.ISupportInitialize)layoutControlItem7).EndInit(); |
| | | ((System.ComponentModel.ISupportInitialize)layoutControlItem10).EndInit(); |
| | | ((System.ComponentModel.ISupportInitialize)dxErrorProvider1).EndInit(); |
| | | ((System.ComponentModel.ISupportInitialize)layoutControlItem13).EndInit(); |
| | | ((System.ComponentModel.ISupportInitialize)imageComboBoxEdit1.Properties).EndInit(); |
| | |
| | | private DevExpress.XtraTreeList.Columns.TreeListColumn colMaterial; |
| | | private DevExpress.XtraTreeList.Columns.TreeListColumn colMinorLoss; |
| | | private BindingSource elbowCoefficientViewModelBindingSource; |
| | | private SelectFlagsPopupCtrl selectFlagsPopupCtrl1; |
| | | private DevExpress.XtraLayout.LayoutControlItem layoutControlItem10; |
| | | } |
| | | } |