From f7253b1a5b2a945d88e6ab230910a78c2cbbc7ad Mon Sep 17 00:00:00 2001 From: lixiaojun <1287241240@qq.com> Date: 星期二, 24 十二月 2024 20:31:31 +0800 Subject: [PATCH] 批量问题修改 --- WinFrmUI/Yw.WinFrmUI.Hydro.Core/06-visual/03-waterbox/HydroWaterboxListCtrl.Designer.cs | 54 +++++++++++++++++++++++++++--------------------------- 1 files changed, 27 insertions(+), 27 deletions(-) diff --git a/WinFrmUI/Yw.WinFrmUI.Hydro.Core/06-visual/03-waterbox/HydroWaterboxListCtrl.Designer.cs b/WinFrmUI/Yw.WinFrmUI.Hydro.Core/06-visual/03-waterbox/HydroWaterboxListCtrl.Designer.cs index a5175fd..bfc6a00 100644 --- a/WinFrmUI/Yw.WinFrmUI.Hydro.Core/06-visual/03-waterbox/HydroWaterboxListCtrl.Designer.cs +++ b/WinFrmUI/Yw.WinFrmUI.Hydro.Core/06-visual/03-waterbox/HydroWaterboxListCtrl.Designer.cs @@ -29,12 +29,12 @@ private void InitializeComponent() { components = new Container(); + ComponentResourceManager resources = new ComponentResourceManager(typeof(HydroWaterboxListCtrl)); DevExpress.XtraEditors.Controls.EditorButtonImageOptions editorButtonImageOptions1 = new DevExpress.XtraEditors.Controls.EditorButtonImageOptions(); DevExpress.Utils.SerializableAppearanceObject serializableAppearanceObject1 = new DevExpress.Utils.SerializableAppearanceObject(); DevExpress.Utils.SerializableAppearanceObject serializableAppearanceObject2 = new DevExpress.Utils.SerializableAppearanceObject(); DevExpress.Utils.SerializableAppearanceObject serializableAppearanceObject3 = new DevExpress.Utils.SerializableAppearanceObject(); DevExpress.Utils.SerializableAppearanceObject serializableAppearanceObject4 = new DevExpress.Utils.SerializableAppearanceObject(); - ComponentResourceManager resources = new ComponentResourceManager(typeof(HydroWaterboxListCtrl)); gridControl1 = new DevExpress.XtraGrid.GridControl(); hydroWaterboxViewModelBindingSource = new BindingSource(components); gridView1 = new DevExpress.XtraGrid.Views.Grid.GridView(); @@ -49,10 +49,10 @@ colMaxLevel = new DevExpress.XtraGrid.Columns.GridColumn(); colDN = new DevExpress.XtraGrid.Columns.GridColumn(); colMinVol = new DevExpress.XtraGrid.Columns.GridColumn(); - colCurve = new DevExpress.XtraGrid.Columns.GridColumn(); colOverFlow = new DevExpress.XtraGrid.Columns.GridColumn(); colFlags = new DevExpress.XtraGrid.Columns.GridColumn(); colDescription = new DevExpress.XtraGrid.Columns.GridColumn(); + colCalcuL = new DevExpress.XtraGrid.Columns.GridColumn(); colSet = new DevExpress.XtraGrid.Columns.GridColumn(); repositoryItemButtonEdit1 = new DevExpress.XtraEditors.Repository.RepositoryItemButtonEdit(); layoutControl1 = new DevExpress.XtraLayout.LayoutControl(); @@ -67,7 +67,7 @@ layoutControlItem3 = new DevExpress.XtraLayout.LayoutControlItem(); layoutControlItem1 = new DevExpress.XtraLayout.LayoutControlItem(); layoutControlItem8 = new DevExpress.XtraLayout.LayoutControlItem(); - colCalcuL = new DevExpress.XtraGrid.Columns.GridColumn(); + colVolCurve = new DevExpress.XtraGrid.Columns.GridColumn(); ((ISupportInitialize)gridControl1).BeginInit(); ((ISupportInitialize)hydroWaterboxViewModelBindingSource).BeginInit(); ((ISupportInitialize)gridView1).BeginInit(); @@ -103,7 +103,7 @@ // // gridView1 // - gridView1.Columns.AddRange(new DevExpress.XtraGrid.Columns.GridColumn[] { colDbLocked, colCode, colName, colModelType, colHasDb, colPoolElev, colInitLevel, colMinLevel, colMaxLevel, colDN, colMinVol, colCurve, colOverFlow, colFlags, colDescription, colCalcuL, colSet }); + gridView1.Columns.AddRange(new DevExpress.XtraGrid.Columns.GridColumn[] { colDbLocked, colCode, colName, colModelType, colHasDb, colPoolElev, colInitLevel, colMinLevel, colMaxLevel, colDN, colMinVol, colVolCurve, colOverFlow, colFlags, colDescription, colCalcuL, colSet }); gridView1.GridControl = gridControl1; gridView1.Name = "gridView1"; gridView1.RowCellClick += gridView1_RowCellClick; @@ -219,16 +219,6 @@ colMinVol.VisibleIndex = 9; colMinVol.Width = 90; // - // colCurve - // - colCurve.FieldName = "Curve"; - colCurve.MaxWidth = 80; - colCurve.MinWidth = 80; - colCurve.Name = "colCurve"; - colCurve.Visible = true; - colCurve.VisibleIndex = 10; - colCurve.Width = 80; - // // colOverFlow // colOverFlow.FieldName = "OverFlow"; @@ -236,7 +226,7 @@ colOverFlow.MinWidth = 60; colOverFlow.Name = "colOverFlow"; colOverFlow.Visible = true; - colOverFlow.VisibleIndex = 11; + colOverFlow.VisibleIndex = 10; colOverFlow.Width = 60; // // colFlags @@ -257,6 +247,19 @@ colDescription.Visible = true; colDescription.VisibleIndex = 14; colDescription.Width = 100; + // + // colCalcuL + // + colCalcuL.FieldName = "CalcuL"; + colCalcuL.Fixed = DevExpress.XtraGrid.Columns.FixedStyle.Right; + colCalcuL.ImageOptions.SvgImage = (DevExpress.Utils.Svg.SvgImage)resources.GetObject("colCalcuL.ImageOptions.SvgImage"); + colCalcuL.ImageOptions.SvgImageSize = new Size(16, 16); + colCalcuL.MaxWidth = 100; + colCalcuL.MinWidth = 100; + colCalcuL.Name = "colCalcuL"; + colCalcuL.Visible = true; + colCalcuL.VisibleIndex = 15; + colCalcuL.Width = 100; // // colSet // @@ -407,18 +410,15 @@ layoutControlItem8.TextSize = new Size(0, 0); layoutControlItem8.TextVisible = false; // - // colCalcuL + // colVolCurve // - colCalcuL.FieldName = "CalcuL"; - colCalcuL.Fixed = DevExpress.XtraGrid.Columns.FixedStyle.Right; - colCalcuL.ImageOptions.SvgImage = (DevExpress.Utils.Svg.SvgImage)resources.GetObject("colCalcuL.ImageOptions.SvgImage"); - colCalcuL.ImageOptions.SvgImageSize = new Size(16, 16); - colCalcuL.MaxWidth = 100; - colCalcuL.MinWidth = 100; - colCalcuL.Name = "colCalcuL"; - colCalcuL.Visible = true; - colCalcuL.VisibleIndex = 15; - colCalcuL.Width = 100; + colVolCurve.FieldName = "VolCurve"; + colVolCurve.MaxWidth = 100; + colVolCurve.MinWidth = 100; + colVolCurve.Name = "colVolCurve"; + colVolCurve.Visible = true; + colVolCurve.VisibleIndex = 11; + colVolCurve.Width = 100; // // HydroWaterboxListCtrl // @@ -475,11 +475,11 @@ private DevExpress.XtraLayout.LayoutControlItem layoutControlItem2; private DevExpress.XtraLayout.LayoutControlItem layoutControlItem3; private DevExpress.XtraLayout.LayoutControlItem layoutControlItem8; - private DevExpress.XtraGrid.Columns.GridColumn colCurve; private DevExpress.XtraGrid.Columns.GridColumn colSet; private DevExpress.XtraEditors.Repository.RepositoryItemButtonEdit repositoryItemButtonEdit1; private GeneralSearchAndSetCtrl generalSearchAndSetCtrl1; private DevExpress.XtraLayout.LayoutControlItem layoutControlItem1; private DevExpress.XtraGrid.Columns.GridColumn colCalcuL; + private DevExpress.XtraGrid.Columns.GridColumn colVolCurve; } } -- Gitblit v1.9.3