From 208ca42e1c20afafbe48d66259d553ee81eb48ed Mon Sep 17 00:00:00 2001 From: Shuxia Ning <NingShuxia0927@outlook.com> Date: 星期三, 13 十一月 2024 11:02:43 +0800 Subject: [PATCH] Merge branch 'master' of http://47.103.154.90:83/r/HStation/XHS.V1.0 --- WinFrmUI/HStation.WinFrmUI.Xhs.Core/02-project/01-import/05-completed/XhsProjectSimulationAnalysisCtrl.Designer.cs | 36 ++++++++++++++++++++++++++++-------- 1 files changed, 28 insertions(+), 8 deletions(-) diff --git a/WinFrmUI/HStation.WinFrmUI.Xhs.Core/02-project/01-import/05-completed/XhsProjectSimulationAnalysisCtrl.Designer.cs b/WinFrmUI/HStation.WinFrmUI.Xhs.Core/02-project/01-import/05-completed/XhsProjectSimulationAnalysisCtrl.Designer.cs index b61bb63..c0aee4f 100644 --- a/WinFrmUI/HStation.WinFrmUI.Xhs.Core/02-project/01-import/05-completed/XhsProjectSimulationAnalysisCtrl.Designer.cs +++ b/WinFrmUI/HStation.WinFrmUI.Xhs.Core/02-project/01-import/05-completed/XhsProjectSimulationAnalysisCtrl.Designer.cs @@ -38,6 +38,7 @@ colDescription = new DevExpress.XtraGrid.Columns.GridColumn(); colCode = new DevExpress.XtraGrid.Columns.GridColumn(); colType = new DevExpress.XtraGrid.Columns.GridColumn(); + colPropStatus = new DevExpress.XtraGrid.Columns.GridColumn(); ((ISupportInitialize)gridControl1).BeginInit(); ((ISupportInitialize)xhsProjectSimulationAnalysisViewModelBindingSource).BeginInit(); ((ISupportInitialize)gridView1).BeginInit(); @@ -60,7 +61,9 @@ // // gridView1 // - gridView1.Columns.AddRange(new DevExpress.XtraGrid.Columns.GridColumn[] { colName, colDescription, colCode, colType }); + gridView1.Appearance.HeaderPanel.Options.UseTextOptions = true; + gridView1.Appearance.HeaderPanel.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center; + gridView1.Columns.AddRange(new DevExpress.XtraGrid.Columns.GridColumn[] { colName, colDescription, colCode, colType, colPropStatus }); gridFormatRule1.Name = "Format0"; gridFormatRule1.Rule = formatConditionRule2ColorScale1; gridView1.FormatRules.Add(gridFormatRule1); @@ -71,35 +74,51 @@ // // colName // + colName.AppearanceCell.Options.UseTextOptions = true; + colName.AppearanceCell.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center; colName.FieldName = "Name"; colName.Name = "colName"; colName.Visible = true; - colName.VisibleIndex = 0; - colName.Width = 239; + colName.VisibleIndex = 2; + colName.Width = 107; // // colDescription // + colDescription.AppearanceCell.Options.UseTextOptions = true; + colDescription.AppearanceCell.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center; colDescription.FieldName = "Description"; colDescription.Name = "colDescription"; colDescription.Visible = true; - colDescription.VisibleIndex = 3; - colDescription.Width = 491; + colDescription.VisibleIndex = 4; + colDescription.Width = 387; // // colCode // + colCode.AppearanceCell.Options.UseTextOptions = true; + colCode.AppearanceCell.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center; colCode.FieldName = "Code"; colCode.Name = "colCode"; colCode.Visible = true; colCode.VisibleIndex = 1; - colCode.Width = 134; + colCode.Width = 127; // // 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 = 2; - colType.Width = 92; + colType.VisibleIndex = 0; + colType.Width = 258; + // + // colPropStatus + // + colPropStatus.FieldName = "PropStatus"; + colPropStatus.Name = "colPropStatus"; + colPropStatus.Visible = true; + colPropStatus.VisibleIndex = 3; + colPropStatus.Width = 77; // // XhsProjectSimulationAnalysisCtrl // @@ -123,5 +142,6 @@ private DevExpress.XtraGrid.Columns.GridColumn colDescription; private DevExpress.XtraGrid.Columns.GridColumn colCode; private DevExpress.XtraGrid.Columns.GridColumn colType; + private DevExpress.XtraGrid.Columns.GridColumn colPropStatus; } } -- Gitblit v1.9.3