From 0663632b0a4aa990a68fca7ea564c93d963c3eaf Mon Sep 17 00:00:00 2001
From: duheng <2784771470@qq.com>
Date: 星期一, 26 八月 2024 15:01:51 +0800
Subject: [PATCH] 优化界面

---
 WinFrmUI/HStation.WinFrmUI.Assets.Core/00-PumpProductManage/PumpProductMainPanel.Designer.cs |   51 +++++++++++++++++++++++++++++++++------------------
 1 files changed, 33 insertions(+), 18 deletions(-)

diff --git a/WinFrmUI/HStation.WinFrmUI.Assets.Core/00-PumpProductManage/PumpProductMainPanel.Designer.cs b/WinFrmUI/HStation.WinFrmUI.Assets.Core/00-PumpProductManage/PumpProductMainPanel.Designer.cs
index 915f4b6..8b6f0d4 100644
--- a/WinFrmUI/HStation.WinFrmUI.Assets.Core/00-PumpProductManage/PumpProductMainPanel.Designer.cs
+++ b/WinFrmUI/HStation.WinFrmUI.Assets.Core/00-PumpProductManage/PumpProductMainPanel.Designer.cs
@@ -58,6 +58,7 @@
             colRatedPower = new DevExpress.XtraGrid.Columns.GridColumn();
             colRatedSpeed = new DevExpress.XtraGrid.Columns.GridColumn();
             layoutControl1 = new DevExpress.XtraLayout.LayoutControl();
+            sidePanel1 = new DevExpress.XtraEditors.SidePanel();
             Root = new DevExpress.XtraLayout.LayoutControlGroup();
             layoutControlItem1 = new DevExpress.XtraLayout.LayoutControlItem();
             popupPump = new DevExpress.XtraBars.PopupMenu(components);
@@ -71,6 +72,7 @@
             ((System.ComponentModel.ISupportInitialize)gridView1).BeginInit();
             ((System.ComponentModel.ISupportInitialize)layoutControl1).BeginInit();
             layoutControl1.SuspendLayout();
+            sidePanel1.SuspendLayout();
             ((System.ComponentModel.ISupportInitialize)Root).BeginInit();
             ((System.ComponentModel.ISupportInitialize)layoutControlItem1).BeginInit();
             ((System.ComponentModel.ISupportInitialize)popupPump).BeginInit();
@@ -91,7 +93,7 @@
             ribbonControl1.ShowExpandCollapseButton = DevExpress.Utils.DefaultBoolean.False;
             ribbonControl1.ShowPageHeadersInFormCaption = DevExpress.Utils.DefaultBoolean.True;
             ribbonControl1.ShowPageHeadersMode = DevExpress.XtraBars.Ribbon.ShowPageHeadersMode.ShowOnMultiplePages;
-            ribbonControl1.Size = new Size(1133, 101);
+            ribbonControl1.Size = new Size(929, 101);
             ribbonControl1.ToolbarLocation = DevExpress.XtraBars.Ribbon.RibbonQuickAccessToolbarLocation.Hidden;
             // 
             // BtnAdd
@@ -150,6 +152,7 @@
             // 
             // dockManager1
             // 
+            dockManager1.DockingOptions.ShowCloseButton = false;
             dockManager1.Form = this;
             dockManager1.RootPanels.AddRange(new DevExpress.XtraBars.Docking.DockPanel[] { dockPanel1 });
             dockManager1.TopZIndexControls.AddRange(new string[] { "DevExpress.XtraBars.BarDockControl", "DevExpress.XtraBars.StandaloneBarDockControl", "System.Windows.Forms.MenuStrip", "System.Windows.Forms.StatusStrip", "System.Windows.Forms.StatusBar", "DevExpress.XtraBars.Ribbon.RibbonStatusBar", "DevExpress.XtraBars.Ribbon.RibbonControl", "DevExpress.XtraBars.Navigation.OfficeNavigationBar", "DevExpress.XtraBars.Navigation.TileNavPane", "DevExpress.XtraBars.TabFormControl", "DevExpress.XtraBars.FluentDesignSystem.FluentDesignFormControl", "DevExpress.XtraBars.ToolbarForm.ToolbarFormControl" });
@@ -159,11 +162,12 @@
             dockPanel1.Controls.Add(dockPanel1_Container);
             dockPanel1.Dock = DevExpress.XtraBars.Docking.DockingStyle.Left;
             dockPanel1.ID = new Guid("20cba9f0-4c76-45ad-a0f6-714fb6b14171");
-            dockPanel1.Location = new Point(0, 101);
+            dockPanel1.Location = new Point(0, 0);
             dockPanel1.Margin = new Padding(0);
             dockPanel1.Name = "dockPanel1";
+            dockPanel1.Options.ShowAutoHideButton = false;
             dockPanel1.OriginalSize = new Size(200, 200);
-            dockPanel1.Size = new Size(200, 446);
+            dockPanel1.Size = new Size(200, 547);
             dockPanel1.Text = "绯诲垪鍒楄〃";
             // 
             // dockPanel1_Container
@@ -171,7 +175,7 @@
             dockPanel1_Container.Controls.Add(pumpSeriesTreeListCtrl1);
             dockPanel1_Container.Location = new Point(3, 26);
             dockPanel1_Container.Name = "dockPanel1_Container";
-            dockPanel1_Container.Size = new Size(193, 417);
+            dockPanel1_Container.Size = new Size(193, 518);
             dockPanel1_Container.TabIndex = 0;
             // 
             // pumpSeriesTreeListCtrl1
@@ -181,18 +185,19 @@
             pumpSeriesTreeListCtrl1.Dock = DockStyle.Fill;
             pumpSeriesTreeListCtrl1.Location = new Point(0, 0);
             pumpSeriesTreeListCtrl1.Name = "pumpSeriesTreeListCtrl1";
-            pumpSeriesTreeListCtrl1.Size = new Size(193, 417);
+            pumpSeriesTreeListCtrl1.Size = new Size(193, 518);
             pumpSeriesTreeListCtrl1.TabIndex = 0;
             // 
             // gridControl1
             // 
             gridControl1.DataSource = currentViewModelBindingSource;
-            gridControl1.Location = new Point(0, 0);
+            gridControl1.Dock = DockStyle.Fill;
+            gridControl1.Location = new Point(0, 101);
             gridControl1.MainView = gridView1;
             gridControl1.MenuManager = ribbonControl1;
             gridControl1.Name = "gridControl1";
-            gridControl1.Size = new Size(933, 446);
-            gridControl1.TabIndex = 3;
+            gridControl1.Size = new Size(929, 442);
+            gridControl1.TabIndex = 0;
             gridControl1.ViewCollection.AddRange(new DevExpress.XtraGrid.Views.Base.BaseView[] { gridView1 });
             // 
             // currentViewModelBindingSource
@@ -319,14 +324,24 @@
             // 
             // layoutControl1
             // 
-            layoutControl1.Controls.Add(gridControl1);
+            layoutControl1.Controls.Add(sidePanel1);
             layoutControl1.Dock = DockStyle.Fill;
-            layoutControl1.Location = new Point(200, 101);
+            layoutControl1.Location = new Point(200, 0);
             layoutControl1.Name = "layoutControl1";
             layoutControl1.Root = Root;
-            layoutControl1.Size = new Size(933, 446);
+            layoutControl1.Size = new Size(933, 547);
             layoutControl1.TabIndex = 6;
             layoutControl1.Text = "layoutControl1";
+            // 
+            // sidePanel1
+            // 
+            sidePanel1.Controls.Add(gridControl1);
+            sidePanel1.Controls.Add(ribbonControl1);
+            sidePanel1.Location = new Point(2, 2);
+            sidePanel1.Name = "sidePanel1";
+            sidePanel1.Size = new Size(929, 543);
+            sidePanel1.TabIndex = 3;
+            sidePanel1.Text = "sidePanel1";
             // 
             // Root
             // 
@@ -335,16 +350,15 @@
             Root.Items.AddRange(new DevExpress.XtraLayout.BaseLayoutItem[] { layoutControlItem1 });
             Root.Name = "Root";
             Root.Padding = new DevExpress.XtraLayout.Utils.Padding(0, 0, 0, 0);
-            Root.Size = new Size(933, 446);
+            Root.Size = new Size(933, 547);
             Root.TextVisible = false;
             // 
             // layoutControlItem1
             // 
-            layoutControlItem1.Control = gridControl1;
+            layoutControlItem1.Control = sidePanel1;
             layoutControlItem1.Location = new Point(0, 0);
             layoutControlItem1.Name = "layoutControlItem1";
-            layoutControlItem1.Padding = new DevExpress.XtraLayout.Utils.Padding(0, 0, 0, 0);
-            layoutControlItem1.Size = new Size(933, 446);
+            layoutControlItem1.Size = new Size(933, 547);
             layoutControlItem1.TextSize = new Size(0, 0);
             layoutControlItem1.TextVisible = false;
             // 
@@ -367,7 +381,6 @@
             AutoScaleMode = AutoScaleMode.Font;
             Controls.Add(layoutControl1);
             Controls.Add(dockPanel1);
-            Controls.Add(ribbonControl1);
             Name = "PumpProductMainPanel";
             Size = new Size(1133, 547);
             ((System.ComponentModel.ISupportInitialize)ribbonControl1).EndInit();
@@ -379,12 +392,13 @@
             ((System.ComponentModel.ISupportInitialize)gridView1).EndInit();
             ((System.ComponentModel.ISupportInitialize)layoutControl1).EndInit();
             layoutControl1.ResumeLayout(false);
+            sidePanel1.ResumeLayout(false);
+            sidePanel1.PerformLayout();
             ((System.ComponentModel.ISupportInitialize)Root).EndInit();
             ((System.ComponentModel.ISupportInitialize)layoutControlItem1).EndInit();
             ((System.ComponentModel.ISupportInitialize)popupPump).EndInit();
             ((System.ComponentModel.ISupportInitialize)svgImage32).EndInit();
             ResumeLayout(false);
-            PerformLayout();
         }
 
         #endregion
@@ -408,7 +422,6 @@
         private DevExpress.XtraGrid.Columns.GridColumn colDescription;
         private DevExpress.XtraLayout.LayoutControl layoutControl1;
         private DevExpress.XtraLayout.LayoutControlGroup Root;
-        private DevExpress.XtraLayout.LayoutControlItem layoutControlItem1;
         private DevExpress.XtraGrid.Columns.GridColumn colRatedFlow;
         private DevExpress.XtraGrid.Columns.GridColumn colRatedHead;
         private DevExpress.XtraBars.BarButtonItem barBtnEditPumpCurve;
@@ -420,5 +433,7 @@
         private DevExpress.XtraBars.PopupMenu popupPump;
         private DevExpress.XtraBars.BarButtonItem BarBtnEidtPumpPart;
         private DevExpress.Utils.SvgImageCollection svgImage32;
+        private DevExpress.XtraEditors.SidePanel sidePanel1;
+        private DevExpress.XtraLayout.LayoutControlItem layoutControlItem1;
     }
 }

--
Gitblit v1.9.3