From 53106cd3c0ca15b0b2fb08cb82f8086f305a19f7 Mon Sep 17 00:00:00 2001 From: duheng <2784771470@qq.com> Date: 星期日, 18 八月 2024 19:42:26 +0800 Subject: [PATCH] 添加泵型号选择 --- WinFrmUI/HStation.WinFrmUI.Basic/00-SysTypeManage/SysTypeManageMainPanel.Designer.cs | 88 +++++++++++-------------------------------- 1 files changed, 23 insertions(+), 65 deletions(-) diff --git a/WinFrmUI/HStation.WinFrmUI.Basic/00-SysTypeManage/SysTypeManageMainPanel.Designer.cs b/WinFrmUI/HStation.WinFrmUI.Basic/00-SysTypeManage/SysTypeManageMainPanel.Designer.cs index 6198659..3ecf3a0 100644 --- a/WinFrmUI/HStation.WinFrmUI.Basic/00-SysTypeManage/SysTypeManageMainPanel.Designer.cs +++ b/WinFrmUI/HStation.WinFrmUI.Basic/00-SysTypeManage/SysTypeManageMainPanel.Designer.cs @@ -39,7 +39,7 @@ dockManager1 = new DevExpress.XtraBars.Docking.DockManager(components); dockPanel1 = new DevExpress.XtraBars.Docking.DockPanel(); dockPanel1_Container = new DevExpress.XtraBars.Docking.ControlContainer(); - moduleTreeListCtrl1 = new SysModuleTreeListCtrl(); + moduleTreeListCtrl1 = new SysModuleListBoxCtrl(); gridControl1 = new DevExpress.XtraGrid.GridControl(); typeViewModelBindingSource = new BindingSource(components); gridView1 = new DevExpress.XtraGrid.Views.Grid.GridView(); @@ -48,12 +48,9 @@ colExtendTypeDisPlayName = new DevExpress.XtraGrid.Columns.GridColumn(); colSortCode = new DevExpress.XtraGrid.Columns.GridColumn(); colDescription = new DevExpress.XtraGrid.Columns.GridColumn(); - layoutControl1 = new DevExpress.XtraLayout.LayoutControl(); - Root = new DevExpress.XtraLayout.LayoutControlGroup(); - layoutControlItem1 = new DevExpress.XtraLayout.LayoutControlItem(); barButtonItem1 = new DevExpress.XtraBars.BarButtonItem(); svgImage32 = new DevExpress.Utils.SvgImageCollection(components); - layoutControlItem2 = new DevExpress.XtraLayout.LayoutControlItem(); + sidePanel1 = new DevExpress.XtraEditors.SidePanel(); ((System.ComponentModel.ISupportInitialize)ribbonControl1).BeginInit(); ((System.ComponentModel.ISupportInitialize)dockManager1).BeginInit(); dockPanel1.SuspendLayout(); @@ -61,22 +58,17 @@ ((System.ComponentModel.ISupportInitialize)gridControl1).BeginInit(); ((System.ComponentModel.ISupportInitialize)typeViewModelBindingSource).BeginInit(); ((System.ComponentModel.ISupportInitialize)gridView1).BeginInit(); - ((System.ComponentModel.ISupportInitialize)layoutControl1).BeginInit(); - layoutControl1.SuspendLayout(); - ((System.ComponentModel.ISupportInitialize)Root).BeginInit(); - ((System.ComponentModel.ISupportInitialize)layoutControlItem1).BeginInit(); ((System.ComponentModel.ISupportInitialize)svgImage32).BeginInit(); - ((System.ComponentModel.ISupportInitialize)layoutControlItem2).BeginInit(); + sidePanel1.SuspendLayout(); SuspendLayout(); // // ribbonControl1 // - ribbonControl1.Dock = DockStyle.None; ribbonControl1.DrawGroupsBorderMode = DevExpress.Utils.DefaultBoolean.True; ribbonControl1.ExpandCollapseItem.Id = 0; ribbonControl1.ItemPanelStyle = DevExpress.XtraBars.Ribbon.RibbonItemPanelStyle.Classic; ribbonControl1.Items.AddRange(new DevExpress.XtraBars.BarItem[] { ribbonControl1.ExpandCollapseItem, barBtnEditPumpCurve, BtnAdd, BtnDelete }); - ribbonControl1.Location = new Point(2, 2); + ribbonControl1.Location = new Point(0, 0); ribbonControl1.MaxItemId = 17; ribbonControl1.Name = "ribbonControl1"; ribbonControl1.Pages.AddRange(new DevExpress.XtraBars.Ribbon.RibbonPage[] { ribbonPage1 }); @@ -84,7 +76,7 @@ ribbonControl1.ShowExpandCollapseButton = DevExpress.Utils.DefaultBoolean.False; ribbonControl1.ShowPageHeadersInFormCaption = DevExpress.Utils.DefaultBoolean.True; ribbonControl1.ShowPageHeadersMode = DevExpress.XtraBars.Ribbon.ShowPageHeadersMode.Hide; - ribbonControl1.Size = new Size(929, 101); + ribbonControl1.Size = new Size(933, 101); ribbonControl1.ToolbarLocation = DevExpress.XtraBars.Ribbon.RibbonQuickAccessToolbarLocation.Hidden; // // barBtnEditPumpCurve @@ -163,11 +155,12 @@ // gridControl1 // gridControl1.DataSource = typeViewModelBindingSource; - gridControl1.Location = new Point(2, 184); + gridControl1.Dock = DockStyle.Fill; + gridControl1.Location = new Point(0, 101); gridControl1.MainView = gridView1; gridControl1.MenuManager = ribbonControl1; gridControl1.Name = "gridControl1"; - gridControl1.Size = new Size(929, 361); + gridControl1.Size = new Size(933, 446); gridControl1.TabIndex = 0; gridControl1.ViewCollection.AddRange(new DevExpress.XtraGrid.Views.Base.BaseView[] { gridView1 }); // @@ -234,37 +227,6 @@ colDescription.Visible = true; colDescription.VisibleIndex = 4; // - // layoutControl1 - // - layoutControl1.Controls.Add(ribbonControl1); - layoutControl1.Controls.Add(gridControl1); - layoutControl1.Dock = DockStyle.Fill; - layoutControl1.Location = new Point(200, 0); - layoutControl1.Name = "layoutControl1"; - layoutControl1.Root = Root; - layoutControl1.Size = new Size(933, 547); - layoutControl1.TabIndex = 6; - layoutControl1.Text = "layoutControl1"; - // - // Root - // - Root.EnableIndentsWithoutBorders = DevExpress.Utils.DefaultBoolean.True; - Root.GroupBordersVisible = false; - Root.Items.AddRange(new DevExpress.XtraLayout.BaseLayoutItem[] { layoutControlItem2, layoutControlItem1 }); - Root.Name = "Root"; - Root.Padding = new DevExpress.XtraLayout.Utils.Padding(0, 0, 0, 0); - Root.Size = new Size(933, 547); - Root.TextVisible = false; - // - // layoutControlItem1 - // - layoutControlItem1.Control = gridControl1; - layoutControlItem1.Location = new Point(0, 182); - layoutControlItem1.Name = "layoutControlItem1"; - layoutControlItem1.Size = new Size(933, 365); - layoutControlItem1.TextSize = new Size(0, 0); - layoutControlItem1.TextVisible = false; - // // barButtonItem1 // barButtonItem1.Caption = "barButtonItem1"; @@ -277,14 +239,17 @@ svgImage32.Add("bletter", "image://svgimages/outlook inspired/bletter.svg"); svgImage32.Add("bold", "image://svgimages/outlook inspired/bold.svg"); // - // layoutControlItem2 + // sidePanel1 // - layoutControlItem2.Control = ribbonControl1; - layoutControlItem2.Location = new Point(0, 0); - layoutControlItem2.Name = "layoutControlItem2"; - layoutControlItem2.Size = new Size(933, 182); - layoutControlItem2.TextSize = new Size(0, 0); - layoutControlItem2.TextVisible = false; + sidePanel1.BorderThickness = 0; + sidePanel1.Controls.Add(gridControl1); + sidePanel1.Controls.Add(ribbonControl1); + sidePanel1.Dock = DockStyle.Fill; + sidePanel1.Location = new Point(200, 0); + sidePanel1.Name = "sidePanel1"; + sidePanel1.Size = new Size(933, 547); + sidePanel1.TabIndex = 8; + sidePanel1.Text = "sidePanel1"; // // SysTypeManageMainPanel // @@ -292,7 +257,7 @@ Appearance.Options.UseBackColor = true; AutoScaleDimensions = new SizeF(7F, 14F); AutoScaleMode = AutoScaleMode.Font; - Controls.Add(layoutControl1); + Controls.Add(sidePanel1); Controls.Add(dockPanel1); Name = "SysTypeManageMainPanel"; Size = new Size(1133, 547); @@ -303,13 +268,9 @@ ((System.ComponentModel.ISupportInitialize)gridControl1).EndInit(); ((System.ComponentModel.ISupportInitialize)typeViewModelBindingSource).EndInit(); ((System.ComponentModel.ISupportInitialize)gridView1).EndInit(); - ((System.ComponentModel.ISupportInitialize)layoutControl1).EndInit(); - layoutControl1.ResumeLayout(false); - layoutControl1.PerformLayout(); - ((System.ComponentModel.ISupportInitialize)Root).EndInit(); - ((System.ComponentModel.ISupportInitialize)layoutControlItem1).EndInit(); ((System.ComponentModel.ISupportInitialize)svgImage32).EndInit(); - ((System.ComponentModel.ISupportInitialize)layoutControlItem2).EndInit(); + sidePanel1.ResumeLayout(false); + sidePanel1.PerformLayout(); ResumeLayout(false); } @@ -323,9 +284,6 @@ private DevExpress.XtraGrid.Views.Grid.GridView gridView1; private DevExpress.XtraBars.Docking.DockPanel dockPanel1; private DevExpress.XtraBars.Docking.ControlContainer dockPanel1_Container; - private DevExpress.XtraLayout.LayoutControl layoutControl1; - private DevExpress.XtraLayout.LayoutControlGroup Root; - private DevExpress.XtraLayout.LayoutControlItem layoutControlItem1; private DevExpress.XtraBars.BarButtonItem barBtnEditPumpCurve; private DevExpress.XtraBars.BarButtonItem BtnAdd; private DevExpress.XtraBars.BarButtonItem BtnDelete; @@ -335,9 +293,9 @@ private DevExpress.XtraGrid.Columns.GridColumn colCode; private DevExpress.XtraGrid.Columns.GridColumn colSortCode; private DevExpress.XtraGrid.Columns.GridColumn colDescription; - private SysModuleTreeListCtrl moduleTreeListCtrl1; + private SysModuleListBoxCtrl moduleTreeListCtrl1; private DevExpress.XtraGrid.Columns.GridColumn colExtendTypeDisPlayName; private DevExpress.Utils.SvgImageCollection svgImage32; - private DevExpress.XtraLayout.LayoutControlItem layoutControlItem2; + private DevExpress.XtraEditors.SidePanel sidePanel1; } } -- Gitblit v1.9.3