From b826e3716742abba49ab2a851b943ea8328db66e Mon Sep 17 00:00:00 2001 From: duheng <2784771470@qq.com> Date: 星期二, 24 十二月 2024 11:19:45 +0800 Subject: [PATCH] 水池匹配修改 --- WinFrmUI/HStation.WinFrmUI.Xhs.Core/03-simulation/07-matching/04-pipe/01-pipesinglematching/PipeSingleMatchingCtrl.Designer.cs | 29 ++++++++++------------------- 1 files changed, 10 insertions(+), 19 deletions(-) diff --git a/WinFrmUI/HStation.WinFrmUI.Xhs.Core/03-simulation/07-matching/04-pipe/01-pipesinglematching/PipeSingleMatchingCtrl.Designer.cs b/WinFrmUI/HStation.WinFrmUI.Xhs.Core/03-simulation/07-matching/04-pipe/01-pipesinglematching/PipeSingleMatchingCtrl.Designer.cs index bf81d15..99f5f5a 100644 --- a/WinFrmUI/HStation.WinFrmUI.Xhs.Core/03-simulation/07-matching/04-pipe/01-pipesinglematching/PipeSingleMatchingCtrl.Designer.cs +++ b/WinFrmUI/HStation.WinFrmUI.Xhs.Core/03-simulation/07-matching/04-pipe/01-pipesinglematching/PipeSingleMatchingCtrl.Designer.cs @@ -33,7 +33,6 @@ gridControl3 = new DevExpress.XtraGrid.GridControl(); pipeLineSingleMatchingViewModelBindingSource = new BindingSource(components); gridView3 = new DevExpress.XtraGrid.Views.Grid.GridView(); - colName = new DevExpress.XtraGrid.Columns.GridColumn(); colModelType = new DevExpress.XtraGrid.Columns.GridColumn(); colMaterial = new DevExpress.XtraGrid.Columns.GridColumn(); colCaliber = new DevExpress.XtraGrid.Columns.GridColumn(); @@ -89,67 +88,60 @@ // gridView3.Appearance.HeaderPanel.Options.UseTextOptions = true; gridView3.Appearance.HeaderPanel.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center; - gridView3.Columns.AddRange(new DevExpress.XtraGrid.Columns.GridColumn[] { colName, colModelType, colMaterial, colCaliber, colMinorLoss, colHazen, colDarcy, colManning }); + gridView3.Columns.AddRange(new DevExpress.XtraGrid.Columns.GridColumn[] { colModelType, colMaterial, colCaliber, colMinorLoss, colHazen, colDarcy, colManning }); gridView3.GridControl = gridControl3; gridView3.Name = "gridView3"; gridView3.OptionsView.ShowGroupPanel = false; gridView3.FocusedRowChanged += gridView3_FocusedRowChanged; - // - // colName - // - colName.FieldName = "Name"; - colName.Name = "colName"; - colName.Visible = true; - colName.VisibleIndex = 0; // // colModelType // colModelType.FieldName = "ModelType"; colModelType.Name = "colModelType"; colModelType.Visible = true; - colModelType.VisibleIndex = 1; + colModelType.VisibleIndex = 0; // // colMaterial // colMaterial.FieldName = "Material"; colMaterial.Name = "colMaterial"; colMaterial.Visible = true; - colMaterial.VisibleIndex = 2; + colMaterial.VisibleIndex = 1; // // colCaliber // colCaliber.FieldName = "Caliber"; colCaliber.Name = "colCaliber"; colCaliber.Visible = true; - colCaliber.VisibleIndex = 3; + colCaliber.VisibleIndex = 2; // // colMinorLoss // colMinorLoss.FieldName = "MinorLoss"; colMinorLoss.Name = "colMinorLoss"; colMinorLoss.Visible = true; - colMinorLoss.VisibleIndex = 4; + colMinorLoss.VisibleIndex = 3; // // colHazen // colHazen.FieldName = "Hazen"; colHazen.Name = "colHazen"; colHazen.Visible = true; - colHazen.VisibleIndex = 5; + colHazen.VisibleIndex = 4; // // colDarcy // colDarcy.FieldName = "Darcy"; colDarcy.Name = "colDarcy"; colDarcy.Visible = true; - colDarcy.VisibleIndex = 6; + colDarcy.VisibleIndex = 5; // // colManning // colManning.FieldName = "Manning"; colManning.Name = "colManning"; colManning.Visible = true; - colManning.VisibleIndex = 7; + colManning.VisibleIndex = 6; // // searchControl1 // @@ -199,12 +191,12 @@ layoutControlItem5.TextSize = new Size(0, 0); layoutControlItem5.TextVisible = false; // - // PipeSingleMatchingForm + // PipeSingleMatchingCtrl // AutoScaleDimensions = new SizeF(7F, 14F); AutoScaleMode = AutoScaleMode.Font; Controls.Add(layoutControl1); - Name = "PipeLineSingleMatchingForm"; + Name = "PipeSingleMatchingCtrl"; Size = new Size(1343, 607); ((ISupportInitialize)layoutControl1).EndInit(); layoutControl1.ResumeLayout(false); @@ -230,7 +222,6 @@ private DevExpress.XtraGrid.Views.Grid.GridView gridView3; private DevExpress.XtraLayout.LayoutControlItem layoutControlItem5; private BindingSource pipeLineSingleMatchingViewModelBindingSource; - private DevExpress.XtraGrid.Columns.GridColumn colName; private DevExpress.XtraGrid.Columns.GridColumn colModelType; private DevExpress.XtraGrid.Columns.GridColumn colMaterial; private DevExpress.XtraGrid.Columns.GridColumn colCaliber; -- Gitblit v1.9.3