From 2e3201e1be4247b47b2b8c2a60c56c0d6885b05a Mon Sep 17 00:00:00 2001 From: duheng <2784771470@qq.com> Date: 星期三, 27 十一月 2024 09:25:31 +0800 Subject: [PATCH] 主菜单提交 --- WinFrmUI/HStation.WinFrmUI.Assets.Core/11-compressor/02-main/AddAssetsExchangerMainDlg.Designer.cs | 193 +++++++++++++++++++++++++++++++++++++---------- 1 files changed, 151 insertions(+), 42 deletions(-) diff --git a/WinFrmUI/HStation.WinFrmUI.Assets.Core/11-compressor/02-main/AddAssetsExchangerMainDlg.Designer.cs b/WinFrmUI/HStation.WinFrmUI.Assets.Core/11-compressor/02-main/AddAssetsExchangerMainDlg.Designer.cs index 4d37aab..40de2f8 100644 --- a/WinFrmUI/HStation.WinFrmUI.Assets.Core/11-compressor/02-main/AddAssetsExchangerMainDlg.Designer.cs +++ b/WinFrmUI/HStation.WinFrmUI.Assets.Core/11-compressor/02-main/AddAssetsExchangerMainDlg.Designer.cs @@ -30,13 +30,21 @@ { 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(); + colCaliber = new DevExpress.XtraTreeList.Columns.TreeListColumn(); + colMaterial = new DevExpress.XtraTreeList.Columns.TreeListColumn(); + colMinorLoss = new DevExpress.XtraTreeList.Columns.TreeListColumn(); + compressorCoefficientViewModelBindingSource = new BindingSource(components); + TextEditCaliber = new DevExpress.XtraEditors.ImageComboBoxEdit(); BtnOk = new DevExpress.XtraEditors.SimpleButton(); simpleButton1 = new DevExpress.XtraEditors.SimpleButton(); TextEditName = new DevExpress.XtraEditors.TextEdit(); DescriptionTextEdit = new DevExpress.XtraEditors.MemoEdit(); TextEditMaterial = new DevExpress.XtraEditors.ImageComboBoxEdit(); - TextEditCoefficient = new DevExpress.XtraEditors.TextEdit(); TextEditKeyWord = new DevExpress.XtraEditors.TextEdit(); + TextEditCoefficient = new DevExpress.XtraEditors.PopupContainerEdit(); Root = new DevExpress.XtraLayout.LayoutControlGroup(); layoutControlItem4 = new DevExpress.XtraLayout.LayoutControlItem(); emptySpaceItem1 = new DevExpress.XtraLayout.EmptySpaceItem(); @@ -46,6 +54,7 @@ layoutControlGroup5 = new DevExpress.XtraLayout.LayoutControlGroup(); layoutControlItem5 = new DevExpress.XtraLayout.LayoutControlItem(); layoutControlItem2 = new DevExpress.XtraLayout.LayoutControlItem(); + layoutControlItem6 = new DevExpress.XtraLayout.LayoutControlItem(); layoutControlItem3 = new DevExpress.XtraLayout.LayoutControlItem(); dxErrorProvider1 = new DevExpress.XtraEditors.DXErrorProvider.DXErrorProvider(components); layoutControlItem13 = new DevExpress.XtraLayout.LayoutControlItem(); @@ -59,11 +68,16 @@ toolTipController1 = new DevExpress.Utils.ToolTipController(components); ((System.ComponentModel.ISupportInitialize)layoutControl1).BeginInit(); layoutControl1.SuspendLayout(); + ((System.ComponentModel.ISupportInitialize)popupContainerControl1).BeginInit(); + popupContainerControl1.SuspendLayout(); + ((System.ComponentModel.ISupportInitialize)treeList1).BeginInit(); + ((System.ComponentModel.ISupportInitialize)compressorCoefficientViewModelBindingSource).BeginInit(); + ((System.ComponentModel.ISupportInitialize)TextEditCaliber.Properties).BeginInit(); ((System.ComponentModel.ISupportInitialize)TextEditName.Properties).BeginInit(); ((System.ComponentModel.ISupportInitialize)DescriptionTextEdit.Properties).BeginInit(); ((System.ComponentModel.ISupportInitialize)TextEditMaterial.Properties).BeginInit(); - ((System.ComponentModel.ISupportInitialize)TextEditCoefficient.Properties).BeginInit(); ((System.ComponentModel.ISupportInitialize)TextEditKeyWord.Properties).BeginInit(); + ((System.ComponentModel.ISupportInitialize)TextEditCoefficient.Properties).BeginInit(); ((System.ComponentModel.ISupportInitialize)Root).BeginInit(); ((System.ComponentModel.ISupportInitialize)layoutControlItem4).BeginInit(); ((System.ComponentModel.ISupportInitialize)emptySpaceItem1).BeginInit(); @@ -73,6 +87,7 @@ ((System.ComponentModel.ISupportInitialize)layoutControlGroup5).BeginInit(); ((System.ComponentModel.ISupportInitialize)layoutControlItem5).BeginInit(); ((System.ComponentModel.ISupportInitialize)layoutControlItem2).BeginInit(); + ((System.ComponentModel.ISupportInitialize)layoutControlItem6).BeginInit(); ((System.ComponentModel.ISupportInitialize)layoutControlItem3).BeginInit(); ((System.ComponentModel.ISupportInitialize)dxErrorProvider1).BeginInit(); ((System.ComponentModel.ISupportInitialize)layoutControlItem13).BeginInit(); @@ -87,13 +102,15 @@ // // layoutControl1 // + layoutControl1.Controls.Add(popupContainerControl1); + layoutControl1.Controls.Add(TextEditCaliber); layoutControl1.Controls.Add(BtnOk); layoutControl1.Controls.Add(simpleButton1); layoutControl1.Controls.Add(TextEditName); layoutControl1.Controls.Add(DescriptionTextEdit); layoutControl1.Controls.Add(TextEditMaterial); - layoutControl1.Controls.Add(TextEditCoefficient); layoutControl1.Controls.Add(TextEditKeyWord); + layoutControl1.Controls.Add(TextEditCoefficient); layoutControl1.Dock = DockStyle.Fill; layoutControl1.Location = new Point(0, 0); layoutControl1.Name = "layoutControl1"; @@ -103,28 +120,93 @@ layoutControl1.TabIndex = 0; layoutControl1.Text = "layoutControl1"; // + // popupContainerControl1 + // + popupContainerControl1.Controls.Add(treeList1); + popupContainerControl1.Location = new Point(233, 179); + popupContainerControl1.Name = "popupContainerControl1"; + popupContainerControl1.Size = new Size(215, 124); + popupContainerControl1.TabIndex = 14; + // + // 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; + treeList1.FocusedNodeChanged += treeList1_FocusedNodeChanged; + // + // colName + // + colName.Caption = "鍚嶇О"; + colName.FieldName = "Name"; + colName.Name = "colName"; + colName.Visible = true; + colName.VisibleIndex = 0; + // + // colCaliber + // + colCaliber.Caption = "鍙e緞"; + colCaliber.FieldName = "Caliber"; + colCaliber.Name = "colCaliber"; + colCaliber.Visible = true; + colCaliber.VisibleIndex = 1; + // + // colMaterial + // + colMaterial.Caption = "鏉愭枡"; + colMaterial.FieldName = "Material"; + colMaterial.Name = "colMaterial"; + colMaterial.Visible = true; + colMaterial.VisibleIndex = 2; + // + // colMinorLoss + // + colMinorLoss.Caption = "灞�闃荤郴鏁�"; + colMinorLoss.FieldName = "MinorLoss"; + colMinorLoss.Name = "colMinorLoss"; + colMinorLoss.Visible = true; + colMinorLoss.VisibleIndex = 3; + // + // compressorCoefficientViewModelBindingSource + // + compressorCoefficientViewModelBindingSource.DataSource = typeof(CompressorCoefficientViewModel); + // + // 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; + // // BtnOk // BtnOk.Appearance.BackColor = DevExpress.LookAndFeel.DXSkinColors.FillColors.Primary; BtnOk.Appearance.Options.UseBackColor = true; - BtnOk.Location = new Point(495, 452); + BtnOk.Location = new Point(521, 452); BtnOk.Name = "BtnOk"; - BtnOk.Size = new Size(89, 22); + BtnOk.Size = new Size(70, 22); BtnOk.StyleController = layoutControl1; - BtnOk.TabIndex = 6; - BtnOk.Text = "瀹屾垚"; + BtnOk.TabIndex = 7; + 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.Location = new Point(595, 452); simpleButton1.Name = "simpleButton1"; - simpleButton1.Size = new Size(85, 22); + simpleButton1.Size = new Size(78, 22); simpleButton1.StyleController = layoutControl1; - simpleButton1.TabIndex = 7; + simpleButton1.TabIndex = 8; simpleButton1.Text = "鍙栨秷"; // // TextEditName @@ -135,38 +217,41 @@ 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; - // - // TextEditMinorLoss - // - TextEditCoefficient.Location = new Point(406, 32); - TextEditCoefficient.Name = "TextEditCoefficient"; - TextEditCoefficient.Size = new Size(267, 20); - TextEditCoefficient.StyleController = layoutControl1; - TextEditCoefficient.TabIndex = 4; + TextEditMaterial.TabIndex = 4; + TextEditMaterial.SelectedIndexChanged += TextEditCaliber_SelectedIndexChanged; // // 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; + // + // TextEditCoefficient + // + TextEditCoefficient.Location = new Point(72, 56); + TextEditCoefficient.Name = "TextEditCoefficient"; + TextEditCoefficient.Properties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] { new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo) }); + TextEditCoefficient.Properties.PopupControl = popupContainerControl1; + TextEditCoefficient.Size = new Size(601, 20); + TextEditCoefficient.StyleController = layoutControl1; + TextEditCoefficient.TabIndex = 5; // // Root // @@ -174,7 +259,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, layoutControlItem2, layoutControlItem3 }); + Root.Items.AddRange(new DevExpress.XtraLayout.BaseLayoutItem[] { layoutControlItem4, emptySpaceItem1, layoutControlItem8, layoutControlItem1, layoutControlItem12, layoutControlGroup5, layoutControlItem2, layoutControlItem6, layoutControlItem3 }); Root.Name = "Root"; Root.Padding = new DevExpress.XtraLayout.Utils.Padding(6, 6, 6, 6); Root.Size = new Size(681, 482); @@ -183,9 +268,9 @@ // layoutControlItem4 // layoutControlItem4.Control = BtnOk; - layoutControlItem4.Location = new Point(487, 444); + layoutControlItem4.Location = new Point(513, 444); layoutControlItem4.Name = "layoutControlItem4"; - layoutControlItem4.Size = new Size(93, 26); + layoutControlItem4.Size = new Size(74, 26); layoutControlItem4.TextSize = new Size(0, 0); layoutControlItem4.TextVisible = false; // @@ -194,15 +279,15 @@ emptySpaceItem1.AllowHotTrack = false; emptySpaceItem1.Location = new Point(0, 444); emptySpaceItem1.Name = "emptySpaceItem1"; - emptySpaceItem1.Size = new Size(487, 26); + emptySpaceItem1.Size = new Size(513, 26); emptySpaceItem1.TextSize = new Size(0, 0); // // layoutControlItem8 // layoutControlItem8.Control = simpleButton1; - layoutControlItem8.Location = new Point(580, 444); + layoutControlItem8.Location = new Point(587, 444); layoutControlItem8.Name = "layoutControlItem8"; - layoutControlItem8.Size = new Size(89, 26); + layoutControlItem8.Size = new Size(82, 26); layoutControlItem8.TextSize = new Size(0, 0); layoutControlItem8.TextVisible = false; // @@ -219,9 +304,9 @@ // 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); // @@ -230,9 +315,9 @@ layoutControlGroup5.AppearanceGroup.FontSizeDelta = 1; layoutControlGroup5.AppearanceGroup.Options.UseFont = true; 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 @@ -240,7 +325,7 @@ 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); @@ -256,12 +341,21 @@ layoutControlItem2.Text = "鍏抽敭瀛�:"; layoutControlItem2.TextSize = new Size(52, 14); // + // layoutControlItem6 + // + layoutControlItem6.Control = TextEditCaliber; + layoutControlItem6.Location = new Point(0, 24); + layoutControlItem6.Name = "layoutControlItem6"; + layoutControlItem6.Size = new Size(334, 24); + layoutControlItem6.Text = "鍙e緞:"; + layoutControlItem6.TextSize = new Size(52, 14); + // // layoutControlItem3 // layoutControlItem3.Control = TextEditCoefficient; - layoutControlItem3.Location = new Point(334, 24); + layoutControlItem3.Location = new Point(0, 48); layoutControlItem3.Name = "layoutControlItem3"; - layoutControlItem3.Size = new Size(335, 24); + layoutControlItem3.Size = new Size(669, 24); layoutControlItem3.Text = "鎹熷け绯绘暟:"; layoutControlItem3.TextSize = new Size(52, 14); // @@ -346,11 +440,16 @@ 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)compressorCoefficientViewModelBindingSource).EndInit(); + ((System.ComponentModel.ISupportInitialize)TextEditCaliber.Properties).EndInit(); ((System.ComponentModel.ISupportInitialize)TextEditName.Properties).EndInit(); ((System.ComponentModel.ISupportInitialize)DescriptionTextEdit.Properties).EndInit(); ((System.ComponentModel.ISupportInitialize)TextEditMaterial.Properties).EndInit(); - ((System.ComponentModel.ISupportInitialize)TextEditCoefficient.Properties).EndInit(); ((System.ComponentModel.ISupportInitialize)TextEditKeyWord.Properties).EndInit(); + ((System.ComponentModel.ISupportInitialize)TextEditCoefficient.Properties).EndInit(); ((System.ComponentModel.ISupportInitialize)Root).EndInit(); ((System.ComponentModel.ISupportInitialize)layoutControlItem4).EndInit(); ((System.ComponentModel.ISupportInitialize)emptySpaceItem1).EndInit(); @@ -360,6 +459,7 @@ ((System.ComponentModel.ISupportInitialize)layoutControlGroup5).EndInit(); ((System.ComponentModel.ISupportInitialize)layoutControlItem5).EndInit(); ((System.ComponentModel.ISupportInitialize)layoutControlItem2).EndInit(); + ((System.ComponentModel.ISupportInitialize)layoutControlItem6).EndInit(); ((System.ComponentModel.ISupportInitialize)layoutControlItem3).EndInit(); ((System.ComponentModel.ISupportInitialize)dxErrorProvider1).EndInit(); ((System.ComponentModel.ISupportInitialize)layoutControlItem13).EndInit(); @@ -405,7 +505,16 @@ private DevExpress.Utils.ToolTipController toolTipController1; private DevExpress.XtraEditors.TextEdit TextEditKeyWord; private DevExpress.XtraLayout.LayoutControlItem layoutControlItem2; - private DevExpress.XtraEditors.TextEdit TextEditCoefficient; private DevExpress.XtraLayout.LayoutControlItem layoutControlItem3; + private DevExpress.XtraEditors.ImageComboBoxEdit TextEditCaliber; + 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.PopupContainerEdit TextEditCoefficient; } } \ No newline at end of file -- Gitblit v1.9.3