From c4d0807d911a3ee09cffaa9942638ea41cd414f6 Mon Sep 17 00:00:00 2001 From: duheng <2784771470@qq.com> Date: 星期日, 15 九月 2024 21:12:17 +0800 Subject: [PATCH] 优化界面 --- WinFrmUI/HStation.WinFrmUI.Assets.Core/05-ValveManage/ValveManageMainPanel.Designer.cs | 28 ++-------------------------- 1 files changed, 2 insertions(+), 26 deletions(-) diff --git a/WinFrmUI/HStation.WinFrmUI.Assets.Core/05-ValveManage/ValveManageMainPanel.Designer.cs b/WinFrmUI/HStation.WinFrmUI.Assets.Core/05-ValveManage/ValveManageMainPanel.Designer.cs index ba4a481..c6462c2 100644 --- a/WinFrmUI/HStation.WinFrmUI.Assets.Core/05-ValveManage/ValveManageMainPanel.Designer.cs +++ b/WinFrmUI/HStation.WinFrmUI.Assets.Core/05-ValveManage/ValveManageMainPanel.Designer.cs @@ -46,9 +46,7 @@ colCaliber = new DevExpress.XtraGrid.Columns.GridColumn(); colMaterial = new DevExpress.XtraGrid.Columns.GridColumn(); colCoefficient = new DevExpress.XtraGrid.Columns.GridColumn(); - colType = new DevExpress.XtraGrid.Columns.GridColumn(); colDescription = new DevExpress.XtraGrid.Columns.GridColumn(); - colSortCode = new DevExpress.XtraGrid.Columns.GridColumn(); colCreateName = new DevExpress.XtraGrid.Columns.GridColumn(); colCreateTime = new DevExpress.XtraGrid.Columns.GridColumn(); dockManager1 = new DevExpress.XtraBars.Docking.DockManager(components); @@ -162,7 +160,7 @@ // gridView1.Appearance.HeaderPanel.Options.UseTextOptions = true; gridView1.Appearance.HeaderPanel.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center; - gridView1.Columns.AddRange(new DevExpress.XtraGrid.Columns.GridColumn[] { colName, colCaliber, colMaterial, colCoefficient, colType, colDescription, colSortCode, colCreateName, colCreateTime }); + gridView1.Columns.AddRange(new DevExpress.XtraGrid.Columns.GridColumn[] { colName, colCaliber, colMaterial, colCoefficient, colDescription, colCreateName, colCreateTime }); gridView1.GridControl = gridControl1; gridView1.Name = "gridView1"; gridView1.OptionsView.ShowGroupPanel = false; @@ -207,16 +205,6 @@ colCoefficient.VisibleIndex = 5; colCoefficient.Width = 130; // - // colType - // - colType.AppearanceCell.Options.UseTextOptions = true; - colType.AppearanceCell.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center; - colType.FieldName = "Type"; - colType.Name = "colType"; - colType.Visible = true; - colType.VisibleIndex = 6; - colType.Width = 130; - // // colDescription // colDescription.AppearanceCell.Options.UseTextOptions = true; @@ -224,18 +212,8 @@ colDescription.FieldName = "Description"; colDescription.Name = "colDescription"; colDescription.Visible = true; - colDescription.VisibleIndex = 7; + colDescription.VisibleIndex = 6; colDescription.Width = 198; - // - // colSortCode - // - colSortCode.AppearanceCell.Options.UseTextOptions = true; - colSortCode.AppearanceCell.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center; - colSortCode.FieldName = "SortCode"; - colSortCode.Name = "colSortCode"; - colSortCode.Visible = true; - colSortCode.VisibleIndex = 8; - colSortCode.Width = 62; // // colCreateName // @@ -338,9 +316,7 @@ private DevExpress.XtraGrid.Columns.GridColumn colCaliber; private DevExpress.XtraGrid.Columns.GridColumn colMaterial; private DevExpress.XtraGrid.Columns.GridColumn colCoefficient; - private DevExpress.XtraGrid.Columns.GridColumn colType; private DevExpress.XtraGrid.Columns.GridColumn colDescription; - private DevExpress.XtraGrid.Columns.GridColumn colSortCode; private DevExpress.XtraGrid.Columns.GridColumn colName; private DevExpress.XtraGrid.Columns.GridColumn colCreateName; private DevExpress.XtraGrid.Columns.GridColumn colCreateTime; -- Gitblit v1.9.3