From bef933e7e166b085ba7e46e38ea62d9ae0129ec6 Mon Sep 17 00:00:00 2001 From: lixiaojun <1287241240@qq.com> Date: 星期一, 20 一月 2025 10:47:23 +0800 Subject: [PATCH] 远程API模式阶段性提交 --- WinFrmUI/Yw.WinFrmUI.Hydro.Core/06-visual/04-junction/HydroJunctionListCtrl.Designer.cs | 114 ++++++++++++++++++++------------------------------------ 1 files changed, 41 insertions(+), 73 deletions(-) diff --git a/WinFrmUI/Yw.WinFrmUI.Hydro.Core/06-visual/04-junction/HydroJunctionListCtrl.Designer.cs b/WinFrmUI/Yw.WinFrmUI.Hydro.Core/06-visual/04-junction/HydroJunctionListCtrl.Designer.cs index 29f3773..14f46c2 100644 --- a/WinFrmUI/Yw.WinFrmUI.Hydro.Core/06-visual/04-junction/HydroJunctionListCtrl.Designer.cs +++ b/WinFrmUI/Yw.WinFrmUI.Hydro.Core/06-visual/04-junction/HydroJunctionListCtrl.Designer.cs @@ -29,24 +29,22 @@ private void InitializeComponent() { components = new Container(); + DevExpress.XtraEditors.Controls.EditorButtonImageOptions editorButtonImageOptions1 = new DevExpress.XtraEditors.Controls.EditorButtonImageOptions(); ComponentResourceManager resources = new ComponentResourceManager(typeof(HydroJunctionListCtrl)); - DevExpress.XtraEditors.Controls.EditorButtonImageOptions editorButtonImageOptions2 = new DevExpress.XtraEditors.Controls.EditorButtonImageOptions(); - DevExpress.Utils.SerializableAppearanceObject serializableAppearanceObject5 = new DevExpress.Utils.SerializableAppearanceObject(); - DevExpress.Utils.SerializableAppearanceObject serializableAppearanceObject6 = new DevExpress.Utils.SerializableAppearanceObject(); - DevExpress.Utils.SerializableAppearanceObject serializableAppearanceObject7 = new DevExpress.Utils.SerializableAppearanceObject(); - DevExpress.Utils.SerializableAppearanceObject serializableAppearanceObject8 = new DevExpress.Utils.SerializableAppearanceObject(); + 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(); gridControl1 = new DevExpress.XtraGrid.GridControl(); hydroJunctionViewModelBindingSource = new BindingSource(components); gridView1 = new DevExpress.XtraGrid.Views.Grid.GridView(); colDbLocked = new DevExpress.XtraGrid.Columns.GridColumn(); - colCode = new DevExpress.XtraGrid.Columns.GridColumn(); colName = new DevExpress.XtraGrid.Columns.GridColumn(); + colCode = new DevExpress.XtraGrid.Columns.GridColumn(); colModelType = new DevExpress.XtraGrid.Columns.GridColumn(); - colHasDb = new DevExpress.XtraGrid.Columns.GridColumn(); colElev = new DevExpress.XtraGrid.Columns.GridColumn(); colMinorLoss = new DevExpress.XtraGrid.Columns.GridColumn(); - colCalcuPress = new DevExpress.XtraGrid.Columns.GridColumn(); - colCalcuHead = new DevExpress.XtraGrid.Columns.GridColumn(); + colHasDb = new DevExpress.XtraGrid.Columns.GridColumn(); colFlags = new DevExpress.XtraGrid.Columns.GridColumn(); colDescription = new DevExpress.XtraGrid.Columns.GridColumn(); colSet = new DevExpress.XtraGrid.Columns.GridColumn(); @@ -63,7 +61,7 @@ layoutControlItem3 = new DevExpress.XtraLayout.LayoutControlItem(); layoutControlItem1 = new DevExpress.XtraLayout.LayoutControlItem(); layoutControlItem8 = new DevExpress.XtraLayout.LayoutControlItem(); - colCalcuDemand = new DevExpress.XtraGrid.Columns.GridColumn(); + colCalcuPr = new DevExpress.XtraGrid.Columns.GridColumn(); ((ISupportInitialize)gridControl1).BeginInit(); ((ISupportInitialize)hydroJunctionViewModelBindingSource).BeginInit(); ((ISupportInitialize)gridView1).BeginInit(); @@ -99,7 +97,7 @@ // // gridView1 // - gridView1.Columns.AddRange(new DevExpress.XtraGrid.Columns.GridColumn[] { colDbLocked, colName, colCode, colModelType, colElev, colMinorLoss, colHasDb, colFlags, colDescription, colCalcuPress, colCalcuHead, colCalcuDemand, colSet }); + gridView1.Columns.AddRange(new DevExpress.XtraGrid.Columns.GridColumn[] { colDbLocked, colName, colCode, colModelType, colElev, colMinorLoss, colHasDb, colFlags, colDescription, colCalcuPr, colSet }); gridView1.GridControl = gridControl1; gridView1.Name = "gridView1"; gridView1.RowCellClick += gridView1_RowCellClick; @@ -115,16 +113,6 @@ colDbLocked.VisibleIndex = 0; colDbLocked.Width = 40; // - // colCode - // - colCode.FieldName = "Code"; - colCode.MaxWidth = 150; - colCode.MinWidth = 100; - colCode.Name = "colCode"; - colCode.Visible = true; - colCode.VisibleIndex = 2; - colCode.Width = 120; - // // colName // colName.FieldName = "Name"; @@ -135,6 +123,16 @@ colName.VisibleIndex = 1; colName.Width = 109; // + // colCode + // + colCode.FieldName = "Code"; + colCode.MaxWidth = 150; + colCode.MinWidth = 100; + colCode.Name = "colCode"; + colCode.Visible = true; + colCode.VisibleIndex = 2; + colCode.Width = 120; + // // colModelType // colModelType.FieldName = "ModelType"; @@ -144,16 +142,6 @@ colModelType.Visible = true; colModelType.VisibleIndex = 3; colModelType.Width = 109; - // - // colHasDb - // - colHasDb.FieldName = "HasDb"; - colHasDb.MaxWidth = 40; - colHasDb.MinWidth = 40; - colHasDb.Name = "colHasDb"; - colHasDb.Visible = true; - colHasDb.VisibleIndex = 6; - colHasDb.Width = 40; // // colElev // @@ -175,31 +163,15 @@ colMinorLoss.VisibleIndex = 5; colMinorLoss.Width = 100; // - // colCalcuPress + // colHasDb // - colCalcuPress.FieldName = "CalcuPress"; - colCalcuPress.Fixed = DevExpress.XtraGrid.Columns.FixedStyle.Right; - colCalcuPress.ImageOptions.SvgImage = (DevExpress.Utils.Svg.SvgImage)resources.GetObject("colCalcuPress.ImageOptions.SvgImage"); - colCalcuPress.ImageOptions.SvgImageSize = new Size(16, 16); - colCalcuPress.MaxWidth = 100; - colCalcuPress.MinWidth = 100; - colCalcuPress.Name = "colCalcuPress"; - colCalcuPress.Visible = true; - colCalcuPress.VisibleIndex = 9; - colCalcuPress.Width = 100; - // - // colCalcuHead - // - colCalcuHead.FieldName = "CalcuHead"; - colCalcuHead.Fixed = DevExpress.XtraGrid.Columns.FixedStyle.Right; - colCalcuHead.ImageOptions.SvgImage = (DevExpress.Utils.Svg.SvgImage)resources.GetObject("colCalcuHead.ImageOptions.SvgImage"); - colCalcuHead.ImageOptions.SvgImageSize = new Size(16, 16); - colCalcuHead.MaxWidth = 100; - colCalcuHead.MinWidth = 100; - colCalcuHead.Name = "colCalcuHead"; - colCalcuHead.Visible = true; - colCalcuHead.VisibleIndex = 10; - colCalcuHead.Width = 100; + colHasDb.FieldName = "HasDb"; + colHasDb.MaxWidth = 40; + colHasDb.MinWidth = 40; + colHasDb.Name = "colHasDb"; + colHasDb.Visible = true; + colHasDb.VisibleIndex = 6; + colHasDb.Width = 40; // // colFlags // @@ -229,15 +201,15 @@ colSet.MinWidth = 60; colSet.Name = "colSet"; colSet.Visible = true; - colSet.VisibleIndex = 12; + colSet.VisibleIndex = 10; colSet.Width = 60; // // repositoryItemButtonEdit1 // repositoryItemButtonEdit1.AutoHeight = false; - editorButtonImageOptions2.SvgImage = (DevExpress.Utils.Svg.SvgImage)resources.GetObject("editorButtonImageOptions2.SvgImage"); - editorButtonImageOptions2.SvgImageSize = new Size(20, 20); - repositoryItemButtonEdit1.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] { new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Glyph, "", -1, true, true, false, editorButtonImageOptions2, new DevExpress.Utils.KeyShortcut(Keys.None), serializableAppearanceObject5, serializableAppearanceObject6, serializableAppearanceObject7, serializableAppearanceObject8, "", null, null, DevExpress.Utils.ToolTipAnchor.Default) }); + editorButtonImageOptions1.SvgImage = (DevExpress.Utils.Svg.SvgImage)resources.GetObject("editorButtonImageOptions1.SvgImage"); + editorButtonImageOptions1.SvgImageSize = new Size(20, 20); + repositoryItemButtonEdit1.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] { new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Glyph, "", -1, true, true, false, editorButtonImageOptions1, new DevExpress.Utils.KeyShortcut(Keys.None), serializableAppearanceObject1, serializableAppearanceObject2, serializableAppearanceObject3, serializableAppearanceObject4, "", null, null, DevExpress.Utils.ToolTipAnchor.Default) }); repositoryItemButtonEdit1.Name = "repositoryItemButtonEdit1"; repositoryItemButtonEdit1.TextEditStyle = DevExpress.XtraEditors.Controls.TextEditStyles.HideTextEditor; // @@ -369,18 +341,16 @@ layoutControlItem8.TextSize = new Size(0, 0); layoutControlItem8.TextVisible = false; // - // colCalcuDemand + // colCalcuPr // - colCalcuDemand.FieldName = "CalcuDemand"; - colCalcuDemand.Fixed = DevExpress.XtraGrid.Columns.FixedStyle.Right; - colCalcuDemand.ImageOptions.SvgImage = (DevExpress.Utils.Svg.SvgImage)resources.GetObject("colCalcuDemand.ImageOptions.SvgImage"); - colCalcuDemand.ImageOptions.SvgImageSize = new Size(16, 16); - colCalcuDemand.MaxWidth = 110; - colCalcuDemand.MinWidth = 110; - colCalcuDemand.Name = "colCalcuDemand"; - colCalcuDemand.Visible = true; - colCalcuDemand.VisibleIndex = 11; - colCalcuDemand.Width = 110; + colCalcuPr.FieldName = "CalcuPr"; + colCalcuPr.Fixed = DevExpress.XtraGrid.Columns.FixedStyle.Right; + colCalcuPr.MaxWidth = 100; + colCalcuPr.MinWidth = 100; + colCalcuPr.Name = "colCalcuPr"; + colCalcuPr.Visible = true; + colCalcuPr.VisibleIndex = 9; + colCalcuPr.Width = 100; // // HydroJunctionListCtrl // @@ -419,8 +389,6 @@ private DevExpress.XtraGrid.Columns.GridColumn colElev; private DevExpress.XtraGrid.Columns.GridColumn colDbLocked; private DevExpress.XtraGrid.Columns.GridColumn colModelType; - private DevExpress.XtraGrid.Columns.GridColumn colCalcuPress; - private DevExpress.XtraGrid.Columns.GridColumn colCalcuHead; private DevExpress.XtraGrid.Columns.GridColumn colMinorLoss; private DevExpress.XtraGrid.Columns.GridColumn colHasDb; private DevExpress.XtraLayout.LayoutControl layoutControl1; @@ -438,6 +406,6 @@ private DevExpress.XtraEditors.Repository.RepositoryItemButtonEdit repositoryItemButtonEdit1; private GeneralSearchAndSetCtrl generalSearchAndSetCtrl1; private DevExpress.XtraLayout.LayoutControlItem layoutControlItem1; - private DevExpress.XtraGrid.Columns.GridColumn colCalcuDemand; + private DevExpress.XtraGrid.Columns.GridColumn colCalcuPr; } } -- Gitblit v1.9.3