From 77a4be9a061af13fcd7a0143cf6299172a6fa7f9 Mon Sep 17 00:00:00 2001
From: lixiaojun <1287241240@qq.com>
Date: 星期四, 05 十二月 2024 11:14:46 +0800
Subject: [PATCH] 项目管理优化

---
 WinFrmUI/HStation.WinFrmUI.Assets.Core/10-exchanger/02-main/AddExchangerMainDlg.Designer.cs |  107 ++++++++++++++++++++++++++++++++++++++++++++---------
 1 files changed, 89 insertions(+), 18 deletions(-)

diff --git a/WinFrmUI/HStation.WinFrmUI.Assets.Core/10-exchanger/02-main/AddExchangerMainDlg.Designer.cs b/WinFrmUI/HStation.WinFrmUI.Assets.Core/10-exchanger/02-main/AddExchangerMainDlg.Designer.cs
index 93b57f9..0c09bb5 100644
--- a/WinFrmUI/HStation.WinFrmUI.Assets.Core/10-exchanger/02-main/AddExchangerMainDlg.Designer.cs
+++ b/WinFrmUI/HStation.WinFrmUI.Assets.Core/10-exchanger/02-main/AddExchangerMainDlg.Designer.cs
@@ -30,13 +30,19 @@
         {
             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();
             TextEditMaterial = new DevExpress.XtraEditors.ImageComboBoxEdit();
-            TextEditCoefficient = new DevExpress.XtraEditors.TextEdit();
-            TextEditKeyWorld = 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();
@@ -59,11 +65,15 @@
             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)exchangerCoefficientViewModelBindingSource).BeginInit();
             ((System.ComponentModel.ISupportInitialize)TextEditName.Properties).BeginInit();
             ((System.ComponentModel.ISupportInitialize)DescriptionTextEdit.Properties).BeginInit();
             ((System.ComponentModel.ISupportInitialize)TextEditMaterial.Properties).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)TextEditKeyWord.Properties).BeginInit();
             ((System.ComponentModel.ISupportInitialize)TextEditCoefficient.Properties).BeginInit();
-            ((System.ComponentModel.ISupportInitialize)TextEditKeyWorld.Properties).BeginInit();
             ((System.ComponentModel.ISupportInitialize)Root).BeginInit();
             ((System.ComponentModel.ISupportInitialize)layoutControlItem4).BeginInit();
             ((System.ComponentModel.ISupportInitialize)emptySpaceItem1).BeginInit();
@@ -87,13 +97,14 @@
             // 
             // layoutControl1
             // 
+            layoutControl1.Controls.Add(popupContainerControl1);
             layoutControl1.Controls.Add(BtnOk);
             layoutControl1.Controls.Add(simpleButton1);
             layoutControl1.Controls.Add(TextEditName);
             layoutControl1.Controls.Add(DescriptionTextEdit);
             layoutControl1.Controls.Add(TextEditMaterial);
+            layoutControl1.Controls.Add(TextEditKeyWord);
             layoutControl1.Controls.Add(TextEditCoefficient);
-            layoutControl1.Controls.Add(TextEditKeyWorld);
             layoutControl1.Dock = DockStyle.Fill;
             layoutControl1.Location = new Point(0, 0);
             layoutControl1.Name = "layoutControl1";
@@ -102,6 +113,53 @@
             layoutControl1.Size = new Size(681, 482);
             layoutControl1.TabIndex = 0;
             layoutControl1.Text = "layoutControl1";
+            // 
+            // popupContainerControl1
+            // 
+            popupContainerControl1.Controls.Add(treeList1);
+            popupContainerControl1.Location = new Point(104, 170);
+            popupContainerControl1.Name = "popupContainerControl1";
+            popupContainerControl1.Size = new Size(215, 124);
+            popupContainerControl1.TabIndex = 15;
+            // 
+            // 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
             // 
@@ -112,12 +170,12 @@
             BtnOk.Size = new Size(89, 22);
             BtnOk.StyleController = layoutControl1;
             BtnOk.TabIndex = 9;
-            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(588, 452);
@@ -151,22 +209,25 @@
             TextEditMaterial.Size = new Size(266, 20);
             TextEditMaterial.StyleController = layoutControl1;
             TextEditMaterial.TabIndex = 4;
+            TextEditMaterial.SelectedIndexChanged += TextEditMaterial_SelectedIndexChanged;
+            // 
+            // TextEditKeyWord
+            // 
+            TextEditKeyWord.Location = new Point(406, 8);
+            TextEditKeyWord.Name = "TextEditKeyWord";
+            TextEditKeyWord.Size = new Size(267, 20);
+            TextEditKeyWord.StyleController = layoutControl1;
+            TextEditKeyWord.TabIndex = 2;
             // 
             // TextEditCoefficient
             // 
             TextEditCoefficient.Location = new Point(406, 32);
             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(267, 20);
             TextEditCoefficient.StyleController = layoutControl1;
             TextEditCoefficient.TabIndex = 2;
-            // 
-            // TextEditKeyWorld
-            // 
-            TextEditKeyWorld.Location = new Point(406, 8);
-            TextEditKeyWorld.Name = "TextEditKeyWorld";
-            TextEditKeyWorld.Size = new Size(267, 20);
-            TextEditKeyWorld.StyleController = layoutControl1;
-            TextEditKeyWorld.TabIndex = 2;
             // 
             // Root
             // 
@@ -249,7 +310,7 @@
             // 
             // layoutControlItem2
             // 
-            layoutControlItem2.Control = TextEditKeyWorld;
+            layoutControlItem2.Control = TextEditKeyWord;
             layoutControlItem2.Location = new Point(334, 0);
             layoutControlItem2.Name = "layoutControlItem2";
             layoutControlItem2.Size = new Size(335, 24);
@@ -346,11 +407,15 @@
             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)TextEditMaterial.Properties).EndInit();
+            ((System.ComponentModel.ISupportInitialize)TextEditKeyWord.Properties).EndInit();
             ((System.ComponentModel.ISupportInitialize)TextEditCoefficient.Properties).EndInit();
-            ((System.ComponentModel.ISupportInitialize)TextEditKeyWorld.Properties).EndInit();
             ((System.ComponentModel.ISupportInitialize)Root).EndInit();
             ((System.ComponentModel.ISupportInitialize)layoutControlItem4).EndInit();
             ((System.ComponentModel.ISupportInitialize)emptySpaceItem1).EndInit();
@@ -405,9 +470,15 @@
         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 layoutControlItem2;
-        private DevExpress.XtraEditors.TextEdit TextEditCoefficient;
         private DevExpress.XtraLayout.LayoutControlItem layoutControlItem3;
+        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 TextEditCoefficient;
     }
 }
\ No newline at end of file

--
Gitblit v1.9.3