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/07-fourLink/02-main/EditFourLinkMainDlg.Designer.cs | 75 +++++++++++++++++++++++++++++++++++++ 1 files changed, 75 insertions(+), 0 deletions(-) diff --git a/WinFrmUI/HStation.WinFrmUI.Assets.Core/07-fourLink/02-main/EditFourLinkMainDlg.Designer.cs b/WinFrmUI/HStation.WinFrmUI.Assets.Core/07-fourLink/02-main/EditFourLinkMainDlg.Designer.cs index 0d4eab3..2ec9655 100644 --- a/WinFrmUI/HStation.WinFrmUI.Assets.Core/07-fourLink/02-main/EditFourLinkMainDlg.Designer.cs +++ b/WinFrmUI/HStation.WinFrmUI.Assets.Core/07-fourLink/02-main/EditFourLinkMainDlg.Designer.cs @@ -61,6 +61,13 @@ toolTipController1 = new DevExpress.Utils.ToolTipController(components); layoutControlItem2 = new DevExpress.XtraLayout.LayoutControlItem(); layoutControlItem3 = new DevExpress.XtraLayout.LayoutControlItem(); + popupContainerControl1 = new DevExpress.XtraEditors.PopupContainerControl(); + treeList1 = new DevExpress.XtraTreeList.TreeList(); + fourlinkCoefficientViewModelBindingSource = new BindingSource(components); + colName = new DevExpress.XtraTreeList.Columns.TreeListColumn(); + colCaliber = new DevExpress.XtraTreeList.Columns.TreeListColumn(); + colMaterial = new DevExpress.XtraTreeList.Columns.TreeListColumn(); + colMinorLoss = new DevExpress.XtraTreeList.Columns.TreeListColumn(); ((System.ComponentModel.ISupportInitialize)layoutControl1).BeginInit(); layoutControl1.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)TextEditName.Properties).BeginInit(); @@ -91,10 +98,15 @@ ((System.ComponentModel.ISupportInitialize)layoutControlItem27).BeginInit(); ((System.ComponentModel.ISupportInitialize)layoutControlItem2).BeginInit(); ((System.ComponentModel.ISupportInitialize)layoutControlItem3).BeginInit(); + ((System.ComponentModel.ISupportInitialize)popupContainerControl1).BeginInit(); + popupContainerControl1.SuspendLayout(); + ((System.ComponentModel.ISupportInitialize)treeList1).BeginInit(); + ((System.ComponentModel.ISupportInitialize)fourlinkCoefficientViewModelBindingSource).BeginInit(); SuspendLayout(); // // layoutControl1 // + layoutControl1.Controls.Add(popupContainerControl1); layoutControl1.Controls.Add(BtnOk); layoutControl1.Controls.Add(simpleButton1); layoutControl1.Controls.Add(TextEditName); @@ -160,6 +172,7 @@ TextEditCaliber.Size = new Size(266, 20); TextEditCaliber.StyleController = layoutControl1; TextEditCaliber.TabIndex = 3; + TextEditCaliber.SelectedIndexChanged += TextEditCaliber_SelectedIndexChanged; // // TextEditMaterial // @@ -169,6 +182,7 @@ TextEditMaterial.Size = new Size(267, 20); TextEditMaterial.StyleController = layoutControl1; TextEditMaterial.TabIndex = 4; + TextEditMaterial.SelectedIndexChanged += TextEditMaterial_SelectedIndexChanged; // // TextEditCoefficient // @@ -376,6 +390,56 @@ layoutControlItem3.Text = "鎹熷け绯绘暟:"; layoutControlItem3.TextSize = new Size(52, 14); // + // popupContainerControl1 + // + popupContainerControl1.Controls.Add(treeList1); + popupContainerControl1.Location = new Point(121, 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 = fourlinkCoefficientViewModelBindingSource; + treeList1.Dock = DockStyle.Fill; + treeList1.Location = new Point(0, 0); + treeList1.Name = "treeList1"; + treeList1.Size = new Size(215, 124); + treeList1.TabIndex = 0; + // + // fourlinkCoefficientViewModelBindingSource + // + fourlinkCoefficientViewModelBindingSource.DataSource = typeof(FourlinkCoefficientViewModel); + // + // 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; + // // EditAssetsFourlinkMainDlg // AutoScaleDimensions = new SizeF(7F, 14F); @@ -415,6 +479,10 @@ ((System.ComponentModel.ISupportInitialize)layoutControlItem27).EndInit(); ((System.ComponentModel.ISupportInitialize)layoutControlItem2).EndInit(); ((System.ComponentModel.ISupportInitialize)layoutControlItem3).EndInit(); + ((System.ComponentModel.ISupportInitialize)popupContainerControl1).EndInit(); + popupContainerControl1.ResumeLayout(false); + ((System.ComponentModel.ISupportInitialize)treeList1).EndInit(); + ((System.ComponentModel.ISupportInitialize)fourlinkCoefficientViewModelBindingSource).EndInit(); ResumeLayout(false); } @@ -456,5 +524,12 @@ private DevExpress.XtraLayout.LayoutControlItem layoutControlItem3; private DevExpress.XtraEditors.TextEdit TextEditCoefficient; 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 fourlinkCoefficientViewModelBindingSource; } } \ No newline at end of file -- Gitblit v1.9.3