From 982cde7e9372dc218f23b204265d8e54f7e9ce4f Mon Sep 17 00:00:00 2001 From: ningshuxia <ningshuxia0927@outlook.com> Date: 星期四, 13 三月 2025 10:34:21 +0800 Subject: [PATCH] boxModel --- WinFrmUI/HStation.WinFrmUI.Assets.Core/21-compressor/03-factor/AssetsCompressorFactorMgrPage.Designer.cs | 133 +++++++++++++++++++++++--------------------- 1 files changed, 70 insertions(+), 63 deletions(-) diff --git a/WinFrmUI/HStation.WinFrmUI.Assets.Core/21-compressor/03-factor/AssetsCompressorFactorMgrPage.Designer.cs b/WinFrmUI/HStation.WinFrmUI.Assets.Core/21-compressor/03-factor/AssetsCompressorFactorMgrPage.Designer.cs index 1014aeb..0309edb 100644 --- a/WinFrmUI/HStation.WinFrmUI.Assets.Core/21-compressor/03-factor/AssetsCompressorFactorMgrPage.Designer.cs +++ b/WinFrmUI/HStation.WinFrmUI.Assets.Core/21-compressor/03-factor/AssetsCompressorFactorMgrPage.Designer.cs @@ -30,11 +30,11 @@ { components = new Container(); ComponentResourceManager resources = new ComponentResourceManager(typeof(AssetsCompressorFactorMgrPage)); - DevExpress.XtraEditors.Controls.EditorButtonImageOptions editorButtonImageOptions3 = new DevExpress.XtraEditors.Controls.EditorButtonImageOptions(); - DevExpress.Utils.SerializableAppearanceObject serializableAppearanceObject9 = new DevExpress.Utils.SerializableAppearanceObject(); - DevExpress.Utils.SerializableAppearanceObject serializableAppearanceObject10 = new DevExpress.Utils.SerializableAppearanceObject(); - DevExpress.Utils.SerializableAppearanceObject serializableAppearanceObject11 = new DevExpress.Utils.SerializableAppearanceObject(); - DevExpress.Utils.SerializableAppearanceObject serializableAppearanceObject12 = new DevExpress.Utils.SerializableAppearanceObject(); + 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(); ribbonControl1 = new DevExpress.XtraBars.Ribbon.RibbonControl(); barBtnAdd = new DevExpress.XtraBars.BarButtonItem(); barBtnEdit = new DevExpress.XtraBars.BarButtonItem(); @@ -51,10 +51,13 @@ ribPageGroupForMore = new DevExpress.XtraBars.Ribbon.RibbonPageGroup(); panelControl1 = new DevExpress.XtraEditors.PanelControl(); gridControl1 = new DevExpress.XtraGrid.GridControl(); + assetsCompressorFactorMgrViewModelBindingSource = new BindingSource(components); gridView1 = new DevExpress.XtraGrid.Views.Grid.GridView(); colID = new DevExpress.XtraGrid.Columns.GridColumn(); colName = new DevExpress.XtraGrid.Columns.GridColumn(); colMaterial = new DevExpress.XtraGrid.Columns.GridColumn(); + colDiameter = new DevExpress.XtraGrid.Columns.GridColumn(); + colMinorLoss = new DevExpress.XtraGrid.Columns.GridColumn(); colSortCode = new DevExpress.XtraGrid.Columns.GridColumn(); colDescription = new DevExpress.XtraGrid.Columns.GridColumn(); colDetail = new DevExpress.XtraGrid.Columns.GridColumn(); @@ -62,34 +65,34 @@ svgImg32 = new DevExpress.Utils.SvgImageCollection(components); behaviorManager1 = new DevExpress.Utils.Behaviors.BehaviorManager(components); dragDropEvents1 = new DevExpress.Utils.DragDrop.DragDropEvents(components); - assetsCompressorFactorMgrViewModelBindingSource = new BindingSource(components); - colDiameter = new DevExpress.XtraGrid.Columns.GridColumn(); - colMinorLoss = new DevExpress.XtraGrid.Columns.GridColumn(); ((ISupportInitialize)ribbonControl1).BeginInit(); ((ISupportInitialize)panelControl1).BeginInit(); panelControl1.SuspendLayout(); ((ISupportInitialize)gridControl1).BeginInit(); + ((ISupportInitialize)assetsCompressorFactorMgrViewModelBindingSource).BeginInit(); ((ISupportInitialize)gridView1).BeginInit(); ((ISupportInitialize)repositoryItemButtonEdit1).BeginInit(); ((ISupportInitialize)svgImg32).BeginInit(); ((ISupportInitialize)behaviorManager1).BeginInit(); - ((ISupportInitialize)assetsCompressorFactorMgrViewModelBindingSource).BeginInit(); SuspendLayout(); // // ribbonControl1 // + ribbonControl1.EmptyAreaImageOptions.ImagePadding = new Padding(34, 39, 34, 39); ribbonControl1.ExpandCollapseItem.Id = 0; ribbonControl1.ItemPanelStyle = DevExpress.XtraBars.Ribbon.RibbonItemPanelStyle.Classic; ribbonControl1.Items.AddRange(new DevExpress.XtraBars.BarItem[] { ribbonControl1.ExpandCollapseItem, barBtnAdd, barBtnEdit, barBtnDelete, barBtnInfo, barBtnSearch, barBtnRefresh, barBtnUp, barBtnDown, barCkDrag }); ribbonControl1.Location = new Point(1, 1); + ribbonControl1.Margin = new Padding(3, 4, 3, 4); ribbonControl1.MaxItemId = 18; ribbonControl1.Name = "ribbonControl1"; + ribbonControl1.OptionsMenuMinWidth = 377; ribbonControl1.Pages.AddRange(new DevExpress.XtraBars.Ribbon.RibbonPage[] { ribbonPage1 }); ribbonControl1.ShowApplicationButton = DevExpress.Utils.DefaultBoolean.False; ribbonControl1.ShowExpandCollapseButton = DevExpress.Utils.DefaultBoolean.False; ribbonControl1.ShowPageHeadersMode = DevExpress.XtraBars.Ribbon.ShowPageHeadersMode.ShowOnMultiplePages; ribbonControl1.ShowToolbarCustomizeItem = false; - ribbonControl1.Size = new Size(996, 128); + ribbonControl1.Size = new Size(1139, 157); ribbonControl1.Toolbar.ShowCustomizeItem = false; ribbonControl1.ToolbarLocation = DevExpress.XtraBars.Ribbon.RibbonQuickAccessToolbarLocation.Hidden; // @@ -202,95 +205,122 @@ panelControl1.BorderStyle = DevExpress.XtraEditors.Controls.BorderStyles.NoBorder; panelControl1.Controls.Add(gridControl1); panelControl1.Dock = DockStyle.Fill; - panelControl1.Location = new Point(1, 129); + panelControl1.Location = new Point(1, 158); + panelControl1.Margin = new Padding(3, 4, 3, 4); panelControl1.Name = "panelControl1"; panelControl1.Padding = new Padding(0, 1, 0, 0); - panelControl1.Size = new Size(996, 540); + panelControl1.Size = new Size(1139, 702); panelControl1.TabIndex = 3; // // gridControl1 // gridControl1.DataSource = assetsCompressorFactorMgrViewModelBindingSource; gridControl1.Dock = DockStyle.Fill; + gridControl1.EmbeddedNavigator.Margin = new Padding(3, 4, 3, 4); gridControl1.Location = new Point(0, 1); gridControl1.MainView = gridView1; + gridControl1.Margin = new Padding(3, 4, 3, 4); gridControl1.MenuManager = ribbonControl1; gridControl1.Name = "gridControl1"; gridControl1.RepositoryItems.AddRange(new DevExpress.XtraEditors.Repository.RepositoryItem[] { repositoryItemButtonEdit1 }); - gridControl1.Size = new Size(996, 539); + gridControl1.Size = new Size(1139, 701); gridControl1.TabIndex = 0; gridControl1.ViewCollection.AddRange(new DevExpress.XtraGrid.Views.Base.BaseView[] { gridView1 }); + // + // assetsCompressorFactorMgrViewModelBindingSource + // + assetsCompressorFactorMgrViewModelBindingSource.DataSource = typeof(AssetsCompressorFactorMgrViewModel); // // gridView1 // behaviorManager1.SetBehaviors(gridView1, new DevExpress.Utils.Behaviors.Behavior[] { DevExpress.Utils.DragDrop.DragDropBehavior.Create(typeof(DevExpress.XtraGrid.Extensions.ColumnViewDragDropSource), true, true, true, true, dragDropEvents1) }); gridView1.Columns.AddRange(new DevExpress.XtraGrid.Columns.GridColumn[] { colID, colName, colMaterial, colDiameter, colMinorLoss, colSortCode, colDescription, colDetail }); + gridView1.DetailHeight = 450; gridView1.GridControl = gridControl1; gridView1.Name = "gridView1"; + gridView1.OptionsEditForm.PopupEditFormWidth = 914; gridView1.RowCellClick += gridView1_RowCellClick; // // colID // colID.FieldName = "ID"; - colID.MaxWidth = 100; - colID.MinWidth = 150; + colID.MaxWidth = 114; + colID.MinWidth = 171; colID.Name = "colID"; - colID.Width = 100; + colID.Width = 114; // // colName // colName.FieldName = "Name"; - colName.MaxWidth = 100; - colName.MinWidth = 150; + colName.MaxWidth = 114; + colName.MinWidth = 171; colName.Name = "colName"; colName.Visible = true; colName.VisibleIndex = 0; - colName.Width = 150; + colName.Width = 171; // // colMaterial // colMaterial.FieldName = "Material"; - colMaterial.MaxWidth = 100; - colMaterial.MinWidth = 150; + colMaterial.MaxWidth = 114; + colMaterial.MinWidth = 171; colMaterial.Name = "colMaterial"; colMaterial.Visible = true; - colMaterial.VisibleIndex = 1; - colMaterial.Width = 150; + colMaterial.VisibleIndex = 2; + colMaterial.Width = 171; + // + // colDiameter + // + colDiameter.FieldName = "Diameter"; + colDiameter.MaxWidth = 114; + colDiameter.MinWidth = 114; + colDiameter.Name = "colDiameter"; + colDiameter.Visible = true; + colDiameter.VisibleIndex = 1; + colDiameter.Width = 114; + // + // colMinorLoss + // + colMinorLoss.FieldName = "MinorLoss"; + colMinorLoss.MaxWidth = 114; + colMinorLoss.MinWidth = 114; + colMinorLoss.Name = "colMinorLoss"; + colMinorLoss.Visible = true; + colMinorLoss.VisibleIndex = 3; + colMinorLoss.Width = 114; // // colSortCode // colSortCode.FieldName = "SortCode"; - colSortCode.MaxWidth = 100; - colSortCode.MinWidth = 100; + colSortCode.MaxWidth = 114; + colSortCode.MinWidth = 114; colSortCode.Name = "colSortCode"; - colSortCode.Width = 100; + colSortCode.Width = 114; // // colDescription // colDescription.FieldName = "Description"; - colDescription.MinWidth = 100; + colDescription.MinWidth = 114; colDescription.Name = "colDescription"; colDescription.Visible = true; colDescription.VisibleIndex = 4; - colDescription.Width = 100; + colDescription.Width = 114; // // colDetail // colDetail.Caption = "璇︾粏淇℃伅"; colDetail.ColumnEdit = repositoryItemButtonEdit1; - colDetail.MaxWidth = 60; - colDetail.MinWidth = 60; + colDetail.MaxWidth = 69; + colDetail.MinWidth = 69; colDetail.Name = "colDetail"; - colDetail.Visible = true; - colDetail.VisibleIndex = 5; - colDetail.Width = 60; + colDetail.Width = 69; // // repositoryItemButtonEdit1 // repositoryItemButtonEdit1.AutoHeight = false; - editorButtonImageOptions3.SvgImage = (DevExpress.Utils.Svg.SvgImage)resources.GetObject("editorButtonImageOptions3.SvgImage"); - editorButtonImageOptions3.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, editorButtonImageOptions3, new DevExpress.Utils.KeyShortcut(Keys.None), serializableAppearanceObject9, serializableAppearanceObject10, serializableAppearanceObject11, serializableAppearanceObject12, "", null, null, DevExpress.Utils.ToolTipAnchor.Default) }); + 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) }); repositoryItemButtonEdit1.Name = "repositoryItemButtonEdit1"; repositoryItemButtonEdit1.TextEditStyle = DevExpress.XtraEditors.Controls.TextEditStyles.HideTextEditor; // @@ -303,50 +333,27 @@ // dragDropEvents1.DragDrop += dragDropEvents1_DragDrop; // - // assetsCompressorFactorMgrViewModelBindingSource - // - assetsCompressorFactorMgrViewModelBindingSource.DataSource = typeof(AssetsCompressorFactorMgrViewModel); - // - // colDiameter - // - colDiameter.FieldName = "Diameter"; - colDiameter.MaxWidth = 100; - colDiameter.MinWidth = 100; - colDiameter.Name = "colDiameter"; - colDiameter.Visible = true; - colDiameter.VisibleIndex = 2; - colDiameter.Width = 100; - // - // colMinorLoss - // - colMinorLoss.FieldName = "MinorLoss"; - colMinorLoss.MaxWidth = 100; - colMinorLoss.MinWidth = 100; - colMinorLoss.Name = "colMinorLoss"; - colMinorLoss.Visible = true; - colMinorLoss.VisibleIndex = 3; - colMinorLoss.Width = 100; - // // AssetsCompressorFactorMgrPage // Appearance.BackColor = SystemColors.Control; Appearance.Options.UseBackColor = true; - AutoScaleDimensions = new SizeF(7F, 14F); + AutoScaleDimensions = new SizeF(8F, 18F); AutoScaleMode = AutoScaleMode.Font; Controls.Add(panelControl1); Controls.Add(ribbonControl1); + Margin = new Padding(3, 5, 3, 5); Name = "AssetsCompressorFactorMgrPage"; Padding = new Padding(1); - Size = new Size(998, 670); + Size = new Size(1141, 861); ((ISupportInitialize)ribbonControl1).EndInit(); ((ISupportInitialize)panelControl1).EndInit(); panelControl1.ResumeLayout(false); ((ISupportInitialize)gridControl1).EndInit(); + ((ISupportInitialize)assetsCompressorFactorMgrViewModelBindingSource).EndInit(); ((ISupportInitialize)gridView1).EndInit(); ((ISupportInitialize)repositoryItemButtonEdit1).EndInit(); ((ISupportInitialize)svgImg32).EndInit(); ((ISupportInitialize)behaviorManager1).EndInit(); - ((ISupportInitialize)assetsCompressorFactorMgrViewModelBindingSource).EndInit(); ResumeLayout(false); PerformLayout(); } -- Gitblit v1.9.3