From a2a57963e160a319276c5c8499f16c9809056e4c Mon Sep 17 00:00:00 2001
From: duheng <2784771470@qq.com>
Date: 星期日, 17 十一月 2024 21:54:55 +0800
Subject: [PATCH] 修改资产表

---
 WinFrmUI/HStation.WinFrmUI.Assets.Core/06-threeLink/02-main/EditThreeLinkMainDlg.Designer.cs |  213 ++++++++++++++++++++++++++++++++++++++--------------
 1 files changed, 154 insertions(+), 59 deletions(-)

diff --git a/WinFrmUI/HStation.WinFrmUI.Assets.Core/06-threeLink/02-main/EditThreeLinkMainDlg.Designer.cs b/WinFrmUI/HStation.WinFrmUI.Assets.Core/06-threeLink/02-main/EditThreeLinkMainDlg.Designer.cs
index 4adf051..ec3ed09 100644
--- a/WinFrmUI/HStation.WinFrmUI.Assets.Core/06-threeLink/02-main/EditThreeLinkMainDlg.Designer.cs
+++ b/WinFrmUI/HStation.WinFrmUI.Assets.Core/06-threeLink/02-main/EditThreeLinkMainDlg.Designer.cs
@@ -30,13 +30,23 @@
         {
             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();
+            colRunThroughMinorLoss = new DevExpress.XtraTreeList.Columns.TreeListColumn();
+            colBranchThroughMinorLoss = new DevExpress.XtraTreeList.Columns.TreeListColumn();
+            threelinkCoefficientViewModelBindingSource = new BindingSource(components);
+            textEditBranchThroughCoefficient = new DevExpress.XtraEditors.TextEdit();
+            textEditRunThroughCoefficient = new DevExpress.XtraEditors.TextEdit();
             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();
-            TextEditMinorLoss = new DevExpress.XtraEditors.TextEdit();
             TextEditKeyWord = new DevExpress.XtraEditors.TextEdit();
             Root = new DevExpress.XtraLayout.LayoutControlGroup();
             layoutControlItem4 = new DevExpress.XtraLayout.LayoutControlItem();
@@ -49,6 +59,8 @@
             layoutControlItem12 = new DevExpress.XtraLayout.LayoutControlItem();
             layoutControlItem7 = new DevExpress.XtraLayout.LayoutControlItem();
             layoutControlItem6 = new DevExpress.XtraLayout.LayoutControlItem();
+            layoutControlItem10 = new DevExpress.XtraLayout.LayoutControlItem();
+            layoutControlItem11 = new DevExpress.XtraLayout.LayoutControlItem();
             dxErrorProvider1 = new DevExpress.XtraEditors.DXErrorProvider.DXErrorProvider(components);
             layoutControlItem13 = new DevExpress.XtraLayout.LayoutControlItem();
             imageComboBoxEdit1 = new DevExpress.XtraEditors.ImageComboBoxEdit();
@@ -61,17 +73,19 @@
             toolTipController1 = new DevExpress.Utils.ToolTipController(components);
             layoutControlItem2 = new DevExpress.XtraLayout.LayoutControlItem();
             layoutControlItem3 = new DevExpress.XtraLayout.LayoutControlItem();
-            textEditBranchThroughCoefficient = new DevExpress.XtraEditors.TextEdit();
-            textEditRunThroughCoefficient = new DevExpress.XtraEditors.TextEdit();
-            layoutControlItem10 = new DevExpress.XtraLayout.LayoutControlItem();
-            layoutControlItem11 = new DevExpress.XtraLayout.LayoutControlItem();
+            TextEditMinorLoss = new DevExpress.XtraEditors.PopupContainerEdit();
             ((System.ComponentModel.ISupportInitialize)layoutControl1).BeginInit();
             layoutControl1.SuspendLayout();
+            ((System.ComponentModel.ISupportInitialize)popupContainerControl1).BeginInit();
+            popupContainerControl1.SuspendLayout();
+            ((System.ComponentModel.ISupportInitialize)treeList1).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)threelinkCoefficientViewModelBindingSource).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)textEditBranchThroughCoefficient.Properties).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)textEditRunThroughCoefficient.Properties).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)TextEditMinorLoss.Properties).BeginInit();
             ((System.ComponentModel.ISupportInitialize)TextEditKeyWord.Properties).BeginInit();
             ((System.ComponentModel.ISupportInitialize)Root).BeginInit();
             ((System.ComponentModel.ISupportInitialize)layoutControlItem4).BeginInit();
@@ -84,6 +98,8 @@
             ((System.ComponentModel.ISupportInitialize)layoutControlItem12).BeginInit();
             ((System.ComponentModel.ISupportInitialize)layoutControlItem7).BeginInit();
             ((System.ComponentModel.ISupportInitialize)layoutControlItem6).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)layoutControlItem10).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)layoutControlItem11).BeginInit();
             ((System.ComponentModel.ISupportInitialize)dxErrorProvider1).BeginInit();
             ((System.ComponentModel.ISupportInitialize)layoutControlItem13).BeginInit();
             ((System.ComponentModel.ISupportInitialize)imageComboBoxEdit1.Properties).BeginInit();
@@ -95,14 +111,12 @@
             ((System.ComponentModel.ISupportInitialize)layoutControlItem27).BeginInit();
             ((System.ComponentModel.ISupportInitialize)layoutControlItem2).BeginInit();
             ((System.ComponentModel.ISupportInitialize)layoutControlItem3).BeginInit();
-            ((System.ComponentModel.ISupportInitialize)textEditBranchThroughCoefficient.Properties).BeginInit();
-            ((System.ComponentModel.ISupportInitialize)textEditRunThroughCoefficient.Properties).BeginInit();
-            ((System.ComponentModel.ISupportInitialize)layoutControlItem10).BeginInit();
-            ((System.ComponentModel.ISupportInitialize)layoutControlItem11).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)TextEditMinorLoss.Properties).BeginInit();
             SuspendLayout();
             // 
             // layoutControl1
             // 
+            layoutControl1.Controls.Add(popupContainerControl1);
             layoutControl1.Controls.Add(textEditBranchThroughCoefficient);
             layoutControl1.Controls.Add(textEditRunThroughCoefficient);
             layoutControl1.Controls.Add(BtnOk);
@@ -111,8 +125,8 @@
             layoutControl1.Controls.Add(DescriptionTextEdit);
             layoutControl1.Controls.Add(TextEditCaliber);
             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";
@@ -121,6 +135,86 @@
             layoutControl1.Size = new Size(681, 482);
             layoutControl1.TabIndex = 0;
             layoutControl1.Text = "layoutControl1";
+            // 
+            // popupContainerControl1
+            // 
+            popupContainerControl1.Controls.Add(treeList1);
+            popupContainerControl1.Location = new Point(46, 156);
+            popupContainerControl1.Name = "popupContainerControl1";
+            popupContainerControl1.Size = new Size(215, 124);
+            popupContainerControl1.TabIndex = 13;
+            // 
+            // treeList1
+            // 
+            treeList1.Columns.AddRange(new DevExpress.XtraTreeList.Columns.TreeListColumn[] { colName, colCaliber, colMaterial, colMinorLoss, colRunThroughMinorLoss, colBranchThroughMinorLoss });
+            treeList1.DataSource = threelinkCoefficientViewModelBindingSource;
+            treeList1.Dock = DockStyle.Fill;
+            treeList1.Location = new Point(0, 0);
+            treeList1.Name = "treeList1";
+            treeList1.Size = new Size(215, 124);
+            treeList1.TabIndex = 0;
+            // 
+            // colName
+            // 
+            colName.FieldName = "Name";
+            colName.Name = "colName";
+            colName.Visible = true;
+            colName.VisibleIndex = 0;
+            // 
+            // colCaliber
+            // 
+            colCaliber.FieldName = "Caliber";
+            colCaliber.Name = "colCaliber";
+            colCaliber.Visible = true;
+            colCaliber.VisibleIndex = 1;
+            // 
+            // colMaterial
+            // 
+            colMaterial.FieldName = "Material";
+            colMaterial.Name = "colMaterial";
+            colMaterial.Visible = true;
+            colMaterial.VisibleIndex = 2;
+            // 
+            // colMinorLoss
+            // 
+            colMinorLoss.FieldName = "MinorLoss";
+            colMinorLoss.Name = "colMinorLoss";
+            colMinorLoss.Visible = true;
+            colMinorLoss.VisibleIndex = 3;
+            // 
+            // colRunThroughMinorLoss
+            // 
+            colRunThroughMinorLoss.FieldName = "RunThroughMinorLoss";
+            colRunThroughMinorLoss.Name = "colRunThroughMinorLoss";
+            colRunThroughMinorLoss.Visible = true;
+            colRunThroughMinorLoss.VisibleIndex = 4;
+            // 
+            // colBranchThroughMinorLoss
+            // 
+            colBranchThroughMinorLoss.FieldName = "BranchThroughMinorLoss";
+            colBranchThroughMinorLoss.Name = "colBranchThroughMinorLoss";
+            colBranchThroughMinorLoss.Visible = true;
+            colBranchThroughMinorLoss.VisibleIndex = 5;
+            // 
+            // threelinkCoefficientViewModelBindingSource
+            // 
+            threelinkCoefficientViewModelBindingSource.DataSource = typeof(ThreelinkCoefficientViewModel);
+            // 
+            // textEditBranchThroughCoefficient
+            // 
+            textEditBranchThroughCoefficient.Location = new Point(454, 56);
+            textEditBranchThroughCoefficient.Name = "textEditBranchThroughCoefficient";
+            textEditBranchThroughCoefficient.Size = new Size(219, 20);
+            textEditBranchThroughCoefficient.StyleController = layoutControl1;
+            textEditBranchThroughCoefficient.TabIndex = 6;
+            // 
+            // textEditRunThroughCoefficient
+            // 
+            textEditRunThroughCoefficient.Location = new Point(120, 56);
+            textEditRunThroughCoefficient.Name = "textEditRunThroughCoefficient";
+            textEditRunThroughCoefficient.Size = new Size(218, 20);
+            textEditRunThroughCoefficient.StyleController = layoutControl1;
+            textEditRunThroughCoefficient.TabIndex = 5;
             // 
             // BtnOk
             // 
@@ -154,7 +248,7 @@
             TextEditName.StyleController = layoutControl1;
             TextEditName.TabIndex = 0;
             // 
-            // textEditDescription
+            // DescriptionTextEdit
             // 
             DescriptionTextEdit.Location = new Point(20, 137);
             DescriptionTextEdit.Name = "DescriptionTextEdit";
@@ -170,6 +264,7 @@
             TextEditCaliber.Size = new Size(218, 20);
             TextEditCaliber.StyleController = layoutControl1;
             TextEditCaliber.TabIndex = 3;
+            TextEditCaliber.SelectedIndexChanged += TextEditCaliber_SelectedIndexChanged;
             // 
             // TextEditMaterial
             // 
@@ -179,19 +274,12 @@
             TextEditMaterial.Size = new Size(219, 20);
             TextEditMaterial.StyleController = layoutControl1;
             TextEditMaterial.TabIndex = 4;
-            // 
-            // TextEditMinorLoss
-            // 
-            TextEditMinorLoss.Location = new Point(120, 80);
-            TextEditMinorLoss.Name = "TextEditCoefficient";
-            TextEditMinorLoss.Size = new Size(553, 20);
-            TextEditMinorLoss.StyleController = layoutControl1;
-            TextEditMinorLoss.TabIndex = 7;
+            TextEditMaterial.SelectedIndexChanged += TextEditMaterial_SelectedIndexChanged;
             // 
             // TextEditKeyWord
             // 
             TextEditKeyWord.Location = new Point(454, 8);
-            TextEditKeyWord.Name = "TextEditKeyWorld";
+            TextEditKeyWord.Name = "TextEditKeyWord";
             TextEditKeyWord.Size = new Size(219, 20);
             TextEditKeyWord.StyleController = layoutControl1;
             TextEditKeyWord.TabIndex = 2;
@@ -300,6 +388,24 @@
             layoutControlItem6.Text = "鎹熷け绯绘暟:";
             layoutControlItem6.TextSize = new Size(100, 14);
             // 
+            // layoutControlItem10
+            // 
+            layoutControlItem10.Control = textEditRunThroughCoefficient;
+            layoutControlItem10.Location = new Point(0, 48);
+            layoutControlItem10.Name = "layoutControlItem10";
+            layoutControlItem10.Size = new Size(334, 24);
+            layoutControlItem10.Text = "杩愯閫氳繃鎹熷け绯绘暟:";
+            layoutControlItem10.TextSize = new Size(100, 14);
+            // 
+            // layoutControlItem11
+            // 
+            layoutControlItem11.Control = textEditBranchThroughCoefficient;
+            layoutControlItem11.Location = new Point(334, 48);
+            layoutControlItem11.Name = "layoutControlItem11";
+            layoutControlItem11.Size = new Size(335, 24);
+            layoutControlItem11.Text = "鏀閫氳繃鎹熷け绯绘暟:";
+            layoutControlItem11.TextSize = new Size(100, 14);
+            // 
             // dxErrorProvider1
             // 
             dxErrorProvider1.ContainerControl = this;
@@ -386,39 +492,15 @@
             layoutControlItem3.Text = "鎹熷け绯绘暟:";
             layoutControlItem3.TextSize = new Size(52, 14);
             // 
-            // textEditBranchThroughCoefficient
+            // TextEditMinorLoss
             // 
-            textEditBranchThroughCoefficient.Location = new Point(454, 56);
-            textEditBranchThroughCoefficient.Name = "textEditBranchThroughCoefficient";
-            textEditBranchThroughCoefficient.Size = new Size(219, 20);
-            textEditBranchThroughCoefficient.StyleController = layoutControl1;
-            textEditBranchThroughCoefficient.TabIndex = 6;
-            // 
-            // textEditRunThroughCoefficient
-            // 
-            textEditRunThroughCoefficient.Location = new Point(120, 56);
-            textEditRunThroughCoefficient.Name = "textEditRunThroughCoefficient";
-            textEditRunThroughCoefficient.Size = new Size(218, 20);
-            textEditRunThroughCoefficient.StyleController = layoutControl1;
-            textEditRunThroughCoefficient.TabIndex = 5;
-            // 
-            // layoutControlItem10
-            // 
-            layoutControlItem10.Control = textEditRunThroughCoefficient;
-            layoutControlItem10.Location = new Point(0, 48);
-            layoutControlItem10.Name = "layoutControlItem10";
-            layoutControlItem10.Size = new Size(334, 24);
-            layoutControlItem10.Text = "杩愯閫氳繃鎹熷け绯绘暟:";
-            layoutControlItem10.TextSize = new Size(100, 14);
-            // 
-            // layoutControlItem11
-            // 
-            layoutControlItem11.Control = textEditBranchThroughCoefficient;
-            layoutControlItem11.Location = new Point(334, 48);
-            layoutControlItem11.Name = "layoutControlItem11";
-            layoutControlItem11.Size = new Size(335, 24);
-            layoutControlItem11.Text = "鏀閫氳繃鎹熷け绯绘暟:";
-            layoutControlItem11.TextSize = new Size(100, 14);
+            TextEditMinorLoss.Location = new Point(120, 80);
+            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(553, 20);
+            TextEditMinorLoss.StyleController = layoutControl1;
+            TextEditMinorLoss.TabIndex = 7;
             // 
             // EditAssetsThreelinkMainDlg
             // 
@@ -431,11 +513,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)threelinkCoefficientViewModelBindingSource).EndInit();
+            ((System.ComponentModel.ISupportInitialize)textEditBranchThroughCoefficient.Properties).EndInit();
+            ((System.ComponentModel.ISupportInitialize)textEditRunThroughCoefficient.Properties).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)TextEditMinorLoss.Properties).EndInit();
             ((System.ComponentModel.ISupportInitialize)TextEditKeyWord.Properties).EndInit();
             ((System.ComponentModel.ISupportInitialize)Root).EndInit();
             ((System.ComponentModel.ISupportInitialize)layoutControlItem4).EndInit();
@@ -448,6 +535,8 @@
             ((System.ComponentModel.ISupportInitialize)layoutControlItem12).EndInit();
             ((System.ComponentModel.ISupportInitialize)layoutControlItem7).EndInit();
             ((System.ComponentModel.ISupportInitialize)layoutControlItem6).EndInit();
+            ((System.ComponentModel.ISupportInitialize)layoutControlItem10).EndInit();
+            ((System.ComponentModel.ISupportInitialize)layoutControlItem11).EndInit();
             ((System.ComponentModel.ISupportInitialize)dxErrorProvider1).EndInit();
             ((System.ComponentModel.ISupportInitialize)layoutControlItem13).EndInit();
             ((System.ComponentModel.ISupportInitialize)imageComboBoxEdit1.Properties).EndInit();
@@ -459,10 +548,7 @@
             ((System.ComponentModel.ISupportInitialize)layoutControlItem27).EndInit();
             ((System.ComponentModel.ISupportInitialize)layoutControlItem2).EndInit();
             ((System.ComponentModel.ISupportInitialize)layoutControlItem3).EndInit();
-            ((System.ComponentModel.ISupportInitialize)textEditBranchThroughCoefficient.Properties).EndInit();
-            ((System.ComponentModel.ISupportInitialize)textEditRunThroughCoefficient.Properties).EndInit();
-            ((System.ComponentModel.ISupportInitialize)layoutControlItem10).EndInit();
-            ((System.ComponentModel.ISupportInitialize)layoutControlItem11).EndInit();
+            ((System.ComponentModel.ISupportInitialize)TextEditMinorLoss.Properties).EndInit();
             ResumeLayout(false);
         }
 
@@ -502,11 +588,20 @@
         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.TextEdit textEditBranchThroughCoefficient;
         private DevExpress.XtraEditors.TextEdit textEditRunThroughCoefficient;
         private DevExpress.XtraLayout.LayoutControlItem layoutControlItem10;
         private DevExpress.XtraLayout.LayoutControlItem layoutControlItem11;
+        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 DevExpress.XtraTreeList.Columns.TreeListColumn colRunThroughMinorLoss;
+        private DevExpress.XtraTreeList.Columns.TreeListColumn colBranchThroughMinorLoss;
+        private BindingSource threelinkCoefficientViewModelBindingSource;
+        private DevExpress.XtraEditors.PopupContainerEdit TextEditMinorLoss;
     }
 }
\ No newline at end of file

--
Gitblit v1.9.3