From 74706b439194deed9c5fde2d5ed02226fc33fd69 Mon Sep 17 00:00:00 2001 From: duheng <2784771470@qq.com> Date: 星期二, 19 十一月 2024 16:43:56 +0800 Subject: [PATCH] 优化资产界面文字及颜色 --- WinFrmUI/HStation.WinFrmUI.Assets.Core/12-package/KitManageMainPage.Designer.cs | 24 ++++++++++++------------ 1 files changed, 12 insertions(+), 12 deletions(-) diff --git a/WinFrmUI/HStation.WinFrmUI.Assets.Core/12-package/KitManageMainPage.Designer.cs b/WinFrmUI/HStation.WinFrmUI.Assets.Core/12-package/KitManageMainPage.Designer.cs index 0b697cf..f24becb 100644 --- a/WinFrmUI/HStation.WinFrmUI.Assets.Core/12-package/KitManageMainPage.Designer.cs +++ b/WinFrmUI/HStation.WinFrmUI.Assets.Core/12-package/KitManageMainPage.Designer.cs @@ -46,13 +46,13 @@ gridView2 = new DevExpress.XtraGrid.Views.Grid.GridView(); colEquipmentCount1 = new DevExpress.XtraGrid.Columns.GridColumn(); colName1 = new DevExpress.XtraGrid.Columns.GridColumn(); - colModelType = new DevExpress.XtraGrid.Columns.GridColumn(); colRatedEfficiency = new DevExpress.XtraGrid.Columns.GridColumn(); colRatedFlow = new DevExpress.XtraGrid.Columns.GridColumn(); colRatedHead = new DevExpress.XtraGrid.Columns.GridColumn(); colRatedSpeed = new DevExpress.XtraGrid.Columns.GridColumn(); colRatedPower = new DevExpress.XtraGrid.Columns.GridColumn(); colErosion = new DevExpress.XtraGrid.Columns.GridColumn(); + colOtherName = new DevExpress.XtraGrid.Columns.GridColumn(); gridControl1 = new DevExpress.XtraGrid.GridControl(); kitViewModelBindingSource = new BindingSource(components); gridView1 = new DevExpress.XtraGrid.Views.Grid.GridView(); @@ -190,7 +190,7 @@ // gridView2.Appearance.HeaderPanel.Options.UseTextOptions = true; gridView2.Appearance.HeaderPanel.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center; - gridView2.Columns.AddRange(new DevExpress.XtraGrid.Columns.GridColumn[] { colEquipmentCount1, colName1, colModelType, colRatedEfficiency, colRatedFlow, colRatedHead, colRatedSpeed, colRatedPower, colErosion }); + gridView2.Columns.AddRange(new DevExpress.XtraGrid.Columns.GridColumn[] { colEquipmentCount1, colName1, colRatedEfficiency, colRatedFlow, colRatedHead, colRatedSpeed, colRatedPower, colErosion, colOtherName }); gridView2.GridControl = gridControl2; gridView2.Name = "gridView2"; gridView2.OptionsView.ShowGroupPanel = false; @@ -207,14 +207,6 @@ colName1.Name = "colName1"; colName1.Visible = true; colName1.VisibleIndex = 0; - // - // colModelType - // - colModelType.FieldName = "ModelType"; - colModelType.Name = "colModelType"; - colModelType.OptionsColumn.AllowEdit = false; - colModelType.Visible = true; - colModelType.VisibleIndex = 1; // // colRatedEfficiency // @@ -264,6 +256,14 @@ colErosion.OptionsColumn.AllowEdit = false; colErosion.Visible = true; colErosion.VisibleIndex = 7; + // + // colOtherName + // + colOtherName.FieldName = "OtherName"; + colOtherName.Name = "colOtherName"; + colOtherName.OptionsColumn.AllowEdit = false; + colOtherName.Visible = true; + colOtherName.VisibleIndex = 1; // // gridControl1 // @@ -378,7 +378,7 @@ AutoScaleMode = AutoScaleMode.Font; Controls.Add(sidePanel1); Controls.Add(dockPanel1); - Name = "KitManageMainPage"; + Name = "PackageManageMainPage"; Size = new Size(890, 520); ((System.ComponentModel.ISupportInitialize)ribbonControl1).EndInit(); ((System.ComponentModel.ISupportInitialize)svgImageCollection1).EndInit(); @@ -427,12 +427,12 @@ private BindingSource kitViewModelBindingSource; private DevExpress.XtraGrid.Columns.GridColumn colEquipmentCount1; private DevExpress.XtraGrid.Columns.GridColumn colName1; - private DevExpress.XtraGrid.Columns.GridColumn colModelType; private DevExpress.XtraGrid.Columns.GridColumn colRatedEfficiency; private DevExpress.XtraGrid.Columns.GridColumn colRatedFlow; private DevExpress.XtraGrid.Columns.GridColumn colRatedHead; private DevExpress.XtraGrid.Columns.GridColumn colRatedSpeed; private DevExpress.XtraGrid.Columns.GridColumn colRatedPower; private DevExpress.XtraGrid.Columns.GridColumn colErosion; + private DevExpress.XtraGrid.Columns.GridColumn colOtherName; } } -- Gitblit v1.9.3