From 1aa330646ad9f88abc580e17d08d727a0ecaae48 Mon Sep 17 00:00:00 2001 From: lixiaojun <1287241240@qq.com> Date: 星期五, 15 十一月 2024 11:49:08 +0800 Subject: [PATCH] 核心界面优化整理 --- WinFrmUI/Yw.WinFrmUI.Hydro.Core/09-check/01-control/HydroCheckResultCtrl.Designer.cs | 32 ++++++++++++++++---------------- 1 files changed, 16 insertions(+), 16 deletions(-) diff --git a/WinFrmUI/Yw.WinFrmUI.Hydro.Core/09-check/01-control/HydroCheckResultCtrl.Designer.cs b/WinFrmUI/Yw.WinFrmUI.Hydro.Core/09-check/01-control/HydroCheckResultCtrl.Designer.cs index 8102814..5227880 100644 --- a/WinFrmUI/Yw.WinFrmUI.Hydro.Core/09-check/01-control/HydroCheckResultCtrl.Designer.cs +++ b/WinFrmUI/Yw.WinFrmUI.Hydro.Core/09-check/01-control/HydroCheckResultCtrl.Designer.cs @@ -42,7 +42,6 @@ colMode = new DevExpress.XtraGrid.Columns.GridColumn(); colType = new DevExpress.XtraGrid.Columns.GridColumn(); colCode = new DevExpress.XtraGrid.Columns.GridColumn(); - colFailed = new DevExpress.XtraGrid.Columns.GridColumn(); colReason = new DevExpress.XtraGrid.Columns.GridColumn(); Root = new DevExpress.XtraLayout.LayoutControlGroup(); layoutControlItem1 = new DevExpress.XtraLayout.LayoutControlItem(); @@ -53,6 +52,7 @@ layoutControlItem5 = new DevExpress.XtraLayout.LayoutControlItem(); layoutControlItem6 = new DevExpress.XtraLayout.LayoutControlItem(); layoutControlItem7 = new DevExpress.XtraLayout.LayoutControlItem(); + colSucceed = new DevExpress.XtraGrid.Columns.GridColumn(); ((ISupportInitialize)layoutControl1).BeginInit(); layoutControl1.SuspendLayout(); ((ISupportInitialize)txtFailedItems.Properties).BeginInit(); @@ -173,7 +173,7 @@ // gridView1.Appearance.ViewCaption.Options.UseTextOptions = true; gridView1.Appearance.ViewCaption.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Near; - gridView1.Columns.AddRange(new DevExpress.XtraGrid.Columns.GridColumn[] { colMode, colType, colCode, colFailed, colReason }); + gridView1.Columns.AddRange(new DevExpress.XtraGrid.Columns.GridColumn[] { colSucceed, colMode, colType, colCode, colReason }); gridView1.GridControl = gridControl1; gridView1.Name = "gridView1"; gridView1.ViewCaption = "鏍¢獙鏄庣粏"; @@ -187,7 +187,7 @@ colMode.MinWidth = 100; colMode.Name = "colMode"; colMode.Visible = true; - colMode.VisibleIndex = 0; + colMode.VisibleIndex = 1; colMode.Width = 100; // // colType @@ -197,7 +197,7 @@ colType.MinWidth = 100; colType.Name = "colType"; colType.Visible = true; - colType.VisibleIndex = 1; + colType.VisibleIndex = 2; colType.Width = 100; // // colCode @@ -207,18 +207,8 @@ colCode.MinWidth = 100; colCode.Name = "colCode"; colCode.Visible = true; - colCode.VisibleIndex = 2; + colCode.VisibleIndex = 3; colCode.Width = 100; - // - // colFailed - // - colFailed.FieldName = "Failed"; - colFailed.MaxWidth = 60; - colFailed.MinWidth = 60; - colFailed.Name = "colFailed"; - colFailed.Visible = true; - colFailed.VisibleIndex = 3; - colFailed.Width = 60; // // colReason // @@ -315,6 +305,16 @@ layoutControlItem7.Text = "妫�鏌ュけ璐ラ」:"; layoutControlItem7.TextSize = new Size(64, 14); // + // colSucceed + // + colSucceed.FieldName = "Succeed"; + colSucceed.MaxWidth = 80; + colSucceed.MinWidth = 80; + colSucceed.Name = "colSucceed"; + colSucceed.Visible = true; + colSucceed.VisibleIndex = 0; + colSucceed.Width = 80; + // // HydroCheckResultCtrl // AutoScaleDimensions = new SizeF(7F, 14F); @@ -356,7 +356,6 @@ private DevExpress.XtraGrid.Columns.GridColumn colMode; private DevExpress.XtraGrid.Columns.GridColumn colType; private DevExpress.XtraGrid.Columns.GridColumn colCode; - private DevExpress.XtraGrid.Columns.GridColumn colFailed; private DevExpress.XtraGrid.Columns.GridColumn colReason; private DevExpress.XtraEditors.TextEdit txtType; private DevExpress.XtraEditors.TextEdit txtMode; @@ -371,5 +370,6 @@ private DevExpress.XtraLayout.LayoutControlItem layoutControlItem5; private DevExpress.XtraLayout.LayoutControlItem layoutControlItem6; private DevExpress.XtraLayout.LayoutControlItem layoutControlItem7; + private DevExpress.XtraGrid.Columns.GridColumn colSucceed; } } -- Gitblit v1.9.3