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/11-compressor/02-main/AddAssetsExchangerMainDlg.Designer.cs | 164 ++++++++++++++++++++++++++++++++++++++++++++---------- 1 files changed, 133 insertions(+), 31 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..bf72cad 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,6 +30,14 @@ { 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(); @@ -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,6 +68,11 @@ 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(); @@ -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,6 +102,8 @@ // // layoutControl1 // + layoutControl1.Controls.Add(popupContainerControl1); + layoutControl1.Controls.Add(TextEditCaliber); layoutControl1.Controls.Add(BtnOk); layoutControl1.Controls.Add(simpleButton1); layoutControl1.Controls.Add(TextEditName); @@ -103,15 +120,75 @@ 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; + // + // 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; + // + // 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.TabIndex = 7; BtnOk.Text = "瀹屾垚"; BtnOk.Click += BtnOk_ClickAsync; // @@ -120,11 +197,11 @@ simpleButton1.Appearance.BackColor = DevExpress.LookAndFeel.DXSkinColors.FillColors.Danger; 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,35 +212,36 @@ 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; + TextEditMaterial.TabIndex = 4; + TextEditMaterial.SelectedIndexChanged += TextEditCaliber_SelectedIndexChanged; // - // TextEditMinorLoss + // TextEditCoefficient // - TextEditCoefficient.Location = new Point(406, 32); + TextEditCoefficient.Location = new Point(72, 56); TextEditCoefficient.Name = "TextEditCoefficient"; - TextEditCoefficient.Size = new Size(267, 20); + TextEditCoefficient.Size = new Size(601, 20); TextEditCoefficient.StyleController = layoutControl1; - TextEditCoefficient.TabIndex = 4; + TextEditCoefficient.TabIndex = 5; // // 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; @@ -174,7 +252,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 +261,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 +272,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 +297,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 +308,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 +318,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 +334,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,6 +433,11 @@ 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(); @@ -360,6 +452,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(); @@ -407,5 +500,14 @@ 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; } } \ No newline at end of file -- Gitblit v1.9.3