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/EditExchangerMainDlg.Designer.cs | 164 ++++++++++++++++++++++++++++++++++++++++++++---------- 1 files changed, 133 insertions(+), 31 deletions(-) diff --git a/WinFrmUI/HStation.WinFrmUI.Assets.Core/11-compressor/02-main/EditExchangerMainDlg.Designer.cs b/WinFrmUI/HStation.WinFrmUI.Assets.Core/11-compressor/02-main/EditExchangerMainDlg.Designer.cs index a218dd9..ba378bc 100644 --- a/WinFrmUI/HStation.WinFrmUI.Assets.Core/11-compressor/02-main/EditExchangerMainDlg.Designer.cs +++ b/WinFrmUI/HStation.WinFrmUI.Assets.Core/11-compressor/02-main/EditExchangerMainDlg.Designer.cs @@ -30,6 +30,14 @@ { components = new System.ComponentModel.Container(); layoutControl1 = new DevExpress.XtraLayout.LayoutControl(); + TextEditCaliber = new DevExpress.XtraEditors.ImageComboBoxEdit(); + 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); BtnOk = new DevExpress.XtraEditors.SimpleButton(); simpleButton1 = new DevExpress.XtraEditors.SimpleButton(); TextEditName = new DevExpress.XtraEditors.TextEdit(); @@ -46,6 +54,7 @@ layoutControlItem5 = new DevExpress.XtraLayout.LayoutControlItem(); layoutControlItem12 = new DevExpress.XtraLayout.LayoutControlItem(); layoutControlItem7 = new DevExpress.XtraLayout.LayoutControlItem(); + layoutControlItem9 = new DevExpress.XtraLayout.LayoutControlItem(); layoutControlItem6 = new DevExpress.XtraLayout.LayoutControlItem(); dxErrorProvider1 = new DevExpress.XtraEditors.DXErrorProvider.DXErrorProvider(components); layoutControlItem13 = new DevExpress.XtraLayout.LayoutControlItem(); @@ -61,6 +70,11 @@ layoutControlItem3 = new DevExpress.XtraLayout.LayoutControlItem(); ((System.ComponentModel.ISupportInitialize)layoutControl1).BeginInit(); layoutControl1.SuspendLayout(); + ((System.ComponentModel.ISupportInitialize)TextEditCaliber.Properties).BeginInit(); + ((System.ComponentModel.ISupportInitialize)popupContainerControl1).BeginInit(); + popupContainerControl1.SuspendLayout(); + ((System.ComponentModel.ISupportInitialize)treeList1).BeginInit(); + ((System.ComponentModel.ISupportInitialize)compressorCoefficientViewModelBindingSource).BeginInit(); ((System.ComponentModel.ISupportInitialize)TextEditName.Properties).BeginInit(); ((System.ComponentModel.ISupportInitialize)DescriptionTextEdit.Properties).BeginInit(); ((System.ComponentModel.ISupportInitialize)TextEditMaterial.Properties).BeginInit(); @@ -75,6 +89,7 @@ ((System.ComponentModel.ISupportInitialize)layoutControlItem5).BeginInit(); ((System.ComponentModel.ISupportInitialize)layoutControlItem12).BeginInit(); ((System.ComponentModel.ISupportInitialize)layoutControlItem7).BeginInit(); + ((System.ComponentModel.ISupportInitialize)layoutControlItem9).BeginInit(); ((System.ComponentModel.ISupportInitialize)layoutControlItem6).BeginInit(); ((System.ComponentModel.ISupportInitialize)dxErrorProvider1).BeginInit(); ((System.ComponentModel.ISupportInitialize)layoutControlItem13).BeginInit(); @@ -91,6 +106,8 @@ // // layoutControl1 // + layoutControl1.Controls.Add(TextEditCaliber); + layoutControl1.Controls.Add(popupContainerControl1); layoutControl1.Controls.Add(BtnOk); layoutControl1.Controls.Add(simpleButton1); layoutControl1.Controls.Add(TextEditName); @@ -107,15 +124,75 @@ layoutControl1.TabIndex = 0; layoutControl1.Text = "layoutControl1"; // + // 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; + // + // popupContainerControl1 + // + popupContainerControl1.Controls.Add(treeList1); + popupContainerControl1.Location = new Point(103, 144); + popupContainerControl1.Name = "popupContainerControl1"; + popupContainerControl1.Size = new Size(215, 124); + popupContainerControl1.TabIndex = 15; + // + // 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); + // // BtnOk // BtnOk.Appearance.BackColor = DevExpress.LookAndFeel.DXSkinColors.FillColors.Primary; BtnOk.Appearance.Options.UseBackColor = true; - BtnOk.Location = new Point(515, 452); + BtnOk.Location = new Point(536, 452); BtnOk.Name = "BtnOk"; - BtnOk.Size = new Size(81, 22); + BtnOk.Size = new Size(59, 22); BtnOk.StyleController = layoutControl1; - BtnOk.TabIndex = 6; + BtnOk.TabIndex = 7; BtnOk.Text = "瀹屾垚"; BtnOk.Click += BtnOk_ClickAsync; // @@ -124,11 +201,11 @@ simpleButton1.Appearance.BackColor = DevExpress.LookAndFeel.DXSkinColors.FillColors.Danger; simpleButton1.Appearance.Options.UseBackColor = true; simpleButton1.DialogResult = DialogResult.Cancel; - simpleButton1.Location = new Point(600, 452); + simpleButton1.Location = new Point(599, 452); simpleButton1.Name = "simpleButton1"; - simpleButton1.Size = new Size(73, 22); + simpleButton1.Size = new Size(74, 22); simpleButton1.StyleController = layoutControl1; - simpleButton1.TabIndex = 7; + simpleButton1.TabIndex = 8; simpleButton1.Text = "鍙栨秷"; // // TextEditName @@ -139,35 +216,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 += TextEditMaterial_SelectedIndexChanged; // // TextEditMinorLoss // - TextEditMinorLoss.Location = new Point(406, 32); - TextEditMinorLoss.Name = "TextEditCoefficient"; - TextEditMinorLoss.Size = new Size(267, 20); + TextEditMinorLoss.Location = new Point(72, 56); + TextEditMinorLoss.Name = "TextEditMinorLoss"; + TextEditMinorLoss.Size = new Size(601, 20); TextEditMinorLoss.StyleController = layoutControl1; - TextEditMinorLoss.TabIndex = 4; + TextEditMinorLoss.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; @@ -178,7 +256,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, layoutControlGroup5, layoutControlItem12, layoutControlItem7, layoutControlItem6 }); + Root.Items.AddRange(new DevExpress.XtraLayout.BaseLayoutItem[] { layoutControlItem4, emptySpaceItem1, layoutControlItem8, layoutControlItem1, layoutControlGroup5, layoutControlItem12, layoutControlItem7, layoutControlItem9, layoutControlItem6 }); Root.Name = "Root"; Root.Padding = new DevExpress.XtraLayout.Utils.Padding(6, 6, 6, 6); Root.Size = new Size(681, 482); @@ -187,9 +265,9 @@ // layoutControlItem4 // layoutControlItem4.Control = BtnOk; - layoutControlItem4.Location = new Point(507, 444); + layoutControlItem4.Location = new Point(528, 444); layoutControlItem4.Name = "layoutControlItem4"; - layoutControlItem4.Size = new Size(85, 26); + layoutControlItem4.Size = new Size(63, 26); layoutControlItem4.TextSize = new Size(0, 0); layoutControlItem4.TextVisible = false; // @@ -198,15 +276,15 @@ emptySpaceItem1.AllowHotTrack = false; emptySpaceItem1.Location = new Point(0, 444); emptySpaceItem1.Name = "emptySpaceItem1"; - emptySpaceItem1.Size = new Size(507, 26); + emptySpaceItem1.Size = new Size(528, 26); emptySpaceItem1.TextSize = new Size(0, 0); // // layoutControlItem8 // layoutControlItem8.Control = simpleButton1; - layoutControlItem8.Location = new Point(592, 444); + layoutControlItem8.Location = new Point(591, 444); layoutControlItem8.Name = "layoutControlItem8"; - layoutControlItem8.Size = new Size(77, 26); + layoutControlItem8.Size = new Size(78, 26); layoutControlItem8.TextSize = new Size(0, 0); layoutControlItem8.TextVisible = false; // @@ -223,9 +301,9 @@ // layoutControlGroup5 // 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 @@ -233,7 +311,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); @@ -243,9 +321,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); // @@ -258,12 +336,21 @@ layoutControlItem7.Text = "鍏抽敭瀛�:"; layoutControlItem7.TextSize = new Size(52, 14); // + // layoutControlItem9 + // + layoutControlItem9.Control = TextEditCaliber; + layoutControlItem9.Location = new Point(0, 24); + layoutControlItem9.Name = "layoutControlItem9"; + layoutControlItem9.Size = new Size(334, 24); + layoutControlItem9.Text = "鍙e緞:"; + layoutControlItem9.TextSize = new Size(52, 14); + // // layoutControlItem6 // layoutControlItem6.Control = TextEditMinorLoss; - layoutControlItem6.Location = new Point(334, 24); + layoutControlItem6.Location = new Point(0, 48); layoutControlItem6.Name = "layoutControlItem6"; - layoutControlItem6.Size = new Size(335, 24); + layoutControlItem6.Size = new Size(669, 24); layoutControlItem6.Text = "鎹熷け绯绘暟:"; layoutControlItem6.TextSize = new Size(52, 14); // @@ -364,6 +451,11 @@ Text = "缂栬緫绌哄帇鏈�"; ((System.ComponentModel.ISupportInitialize)layoutControl1).EndInit(); layoutControl1.ResumeLayout(false); + ((System.ComponentModel.ISupportInitialize)TextEditCaliber.Properties).EndInit(); + ((System.ComponentModel.ISupportInitialize)popupContainerControl1).EndInit(); + popupContainerControl1.ResumeLayout(false); + ((System.ComponentModel.ISupportInitialize)treeList1).EndInit(); + ((System.ComponentModel.ISupportInitialize)compressorCoefficientViewModelBindingSource).EndInit(); ((System.ComponentModel.ISupportInitialize)TextEditName.Properties).EndInit(); ((System.ComponentModel.ISupportInitialize)DescriptionTextEdit.Properties).EndInit(); ((System.ComponentModel.ISupportInitialize)TextEditMaterial.Properties).EndInit(); @@ -378,6 +470,7 @@ ((System.ComponentModel.ISupportInitialize)layoutControlItem5).EndInit(); ((System.ComponentModel.ISupportInitialize)layoutControlItem12).EndInit(); ((System.ComponentModel.ISupportInitialize)layoutControlItem7).EndInit(); + ((System.ComponentModel.ISupportInitialize)layoutControlItem9).EndInit(); ((System.ComponentModel.ISupportInitialize)layoutControlItem6).EndInit(); ((System.ComponentModel.ISupportInitialize)dxErrorProvider1).EndInit(); ((System.ComponentModel.ISupportInitialize)layoutControlItem13).EndInit(); @@ -429,5 +522,14 @@ private DevExpress.XtraLayout.LayoutControlItem layoutControlItem3; private DevExpress.XtraEditors.TextEdit TextEditMinorLoss; 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.ImageComboBoxEdit TextEditCaliber; + private DevExpress.XtraLayout.LayoutControlItem layoutControlItem9; } } \ No newline at end of file -- Gitblit v1.9.3