From 2049f3b9eaaea83c58a0d498bc6d998e29f41ac6 Mon Sep 17 00:00:00 2001
From: duheng <2784771470@qq.com>
Date: 星期一, 23 九月 2024 11:37:08 +0800
Subject: [PATCH] 优化basic界面

---
 WinFrmUI/HStation.WinFrmUI.Basic/01-SysCatalogManage/SysTypeListBoxCtrl.designer.cs |  103 +++++++++++++++++++++++++++++++++------------------
 1 files changed, 66 insertions(+), 37 deletions(-)

diff --git a/WinFrmUI/HStation.WinFrmUI.Basic/01-SysCatalogManage/SysTypeListBoxCtrl.designer.cs b/WinFrmUI/HStation.WinFrmUI.Basic/01-SysCatalogManage/SysTypeListBoxCtrl.designer.cs
index 6cf8f52..2e65215 100644
--- a/WinFrmUI/HStation.WinFrmUI.Basic/01-SysCatalogManage/SysTypeListBoxCtrl.designer.cs
+++ b/WinFrmUI/HStation.WinFrmUI.Basic/01-SysCatalogManage/SysTypeListBoxCtrl.designer.cs
@@ -32,7 +32,9 @@
             System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(SysTypeListBoxCtrl));
             barManager1 = new DevExpress.XtraBars.BarManager(components);
             bar1 = new DevExpress.XtraBars.Bar();
-            barCkSearch = new DevExpress.XtraBars.BarCheckItem();
+            barBtnExpandAll = new DevExpress.XtraBars.BarButtonItem();
+            barBtnCollpseAll = new DevExpress.XtraBars.BarButtonItem();
+            barBtnSearchBox = new DevExpress.XtraBars.BarCheckItem();
             barDockControlTop = new DevExpress.XtraBars.BarDockControl();
             barDockControlBottom = new DevExpress.XtraBars.BarDockControl();
             barDockControlLeft = new DevExpress.XtraBars.BarDockControl();
@@ -42,11 +44,13 @@
             barButtonItem3 = new DevExpress.XtraBars.BarButtonItem();
             barRoot = new DevExpress.XtraBars.BarSubItem();
             layoutControl1 = new DevExpress.XtraLayout.LayoutControl();
+            searchControl1 = new DevExpress.XtraEditors.SearchControl();
             treeList1 = new DevExpress.XtraTreeList.TreeList();
             colName = new DevExpress.XtraTreeList.Columns.TreeListColumn();
             moduleViewModelBindingSource = new BindingSource(components);
             Root = new DevExpress.XtraLayout.LayoutControlGroup();
             layoutControlItem1 = new DevExpress.XtraLayout.LayoutControlItem();
+            layoutControlItemSearch = new DevExpress.XtraLayout.LayoutControlItem();
             colAppearance = new DevExpress.XtraTreeList.Columns.TreeListColumn();
             colAutoScrollMargin = new DevExpress.XtraTreeList.Columns.TreeListColumn();
             colAutoScrollMinSize = new DevExpress.XtraTreeList.Columns.TreeListColumn();
@@ -79,19 +83,18 @@
             barRootBasicInfoMgr = new DevExpress.XtraBars.BarSubItem();
             popupMenu1 = new DevExpress.XtraBars.PopupMenu(components);
             popupMenu2 = new DevExpress.XtraBars.PopupMenu(components);
-            searchControl1 = new DevExpress.XtraEditors.SearchControl();
-            layoutControlItemSearch = new DevExpress.XtraLayout.LayoutControlItem();
+            barCkTreeLine = new DevExpress.XtraBars.BarCheckItem();
             ((System.ComponentModel.ISupportInitialize)barManager1).BeginInit();
             ((System.ComponentModel.ISupportInitialize)layoutControl1).BeginInit();
             layoutControl1.SuspendLayout();
+            ((System.ComponentModel.ISupportInitialize)searchControl1.Properties).BeginInit();
             ((System.ComponentModel.ISupportInitialize)treeList1).BeginInit();
             ((System.ComponentModel.ISupportInitialize)moduleViewModelBindingSource).BeginInit();
             ((System.ComponentModel.ISupportInitialize)Root).BeginInit();
             ((System.ComponentModel.ISupportInitialize)layoutControlItem1).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)layoutControlItemSearch).BeginInit();
             ((System.ComponentModel.ISupportInitialize)popupMenu1).BeginInit();
             ((System.ComponentModel.ISupportInitialize)popupMenu2).BeginInit();
-            ((System.ComponentModel.ISupportInitialize)searchControl1.Properties).BeginInit();
-            ((System.ComponentModel.ISupportInitialize)layoutControlItemSearch).BeginInit();
             SuspendLayout();
             // 
             // barManager1
@@ -103,8 +106,8 @@
             barManager1.DockControls.Add(barDockControlLeft);
             barManager1.DockControls.Add(barDockControlRight);
             barManager1.Form = this;
-            barManager1.Items.AddRange(new DevExpress.XtraBars.BarItem[] { barCkSearch, barButtonItem1, barButtonItem2, barButtonItem3 });
-            barManager1.MaxItemId = 55;
+            barManager1.Items.AddRange(new DevExpress.XtraBars.BarItem[] { barBtnSearchBox, barButtonItem1, barButtonItem2, barButtonItem3, barBtnExpandAll, barBtnCollpseAll, barCkTreeLine });
+            barManager1.MaxItemId = 59;
             // 
             // bar1
             // 
@@ -113,7 +116,7 @@
             bar1.DockCol = 0;
             bar1.DockRow = 0;
             bar1.DockStyle = DevExpress.XtraBars.BarDockStyle.Top;
-            bar1.LinksPersistInfo.AddRange(new DevExpress.XtraBars.LinkPersistInfo[] { new DevExpress.XtraBars.LinkPersistInfo(barCkSearch) });
+            bar1.LinksPersistInfo.AddRange(new DevExpress.XtraBars.LinkPersistInfo[] { new DevExpress.XtraBars.LinkPersistInfo(barBtnExpandAll), new DevExpress.XtraBars.LinkPersistInfo(barBtnCollpseAll), new DevExpress.XtraBars.LinkPersistInfo(barBtnSearchBox), new DevExpress.XtraBars.LinkPersistInfo(barCkTreeLine) });
             bar1.OptionsBar.AllowQuickCustomization = false;
             bar1.OptionsBar.DrawBorder = false;
             bar1.OptionsBar.DrawDragBorder = false;
@@ -121,14 +124,30 @@
             bar1.OptionsBar.UseWholeRow = true;
             bar1.Text = "Custom 2";
             // 
-            // barCkSearch
+            // barBtnExpandAll
             // 
-            barCkSearch.Caption = "妫�绱�";
-            barCkSearch.Id = 37;
-            barCkSearch.ImageOptions.SvgImage = (DevExpress.Utils.Svg.SvgImage)resources.GetObject("barCkSearch.ImageOptions.SvgImage");
-            barCkSearch.ImageOptions.SvgImageSize = new Size(22, 22);
-            barCkSearch.Name = "barCkSearch";
-            barCkSearch.CheckedChanged += barCkSearch_CheckedChanged;
+            barBtnExpandAll.Caption = "鍏ㄩ儴灞曞紑";
+            barBtnExpandAll.Id = 55;
+            barBtnExpandAll.ImageOptions.SvgImage = (DevExpress.Utils.Svg.SvgImage)resources.GetObject("barBtnExpandAll.ImageOptions.SvgImage");
+            barBtnExpandAll.Name = "barBtnExpandAll";
+            barBtnExpandAll.ItemClick += barBtnExpandAll_ItemClick_1;
+            // 
+            // barBtnCollpseAll
+            // 
+            barBtnCollpseAll.Caption = "鍏ㄩ儴鎶樺彔";
+            barBtnCollpseAll.Id = 56;
+            barBtnCollpseAll.ImageOptions.SvgImage = (DevExpress.Utils.Svg.SvgImage)resources.GetObject("barBtnCollpseAll.ImageOptions.SvgImage");
+            barBtnCollpseAll.Name = "barBtnCollpseAll";
+            barBtnCollpseAll.ItemClick += barBtnCollpseAll_ItemClick;
+            // 
+            // barBtnSearchBox
+            // 
+            barBtnSearchBox.Caption = "妫�绱�";
+            barBtnSearchBox.Id = 37;
+            barBtnSearchBox.ImageOptions.SvgImage = (DevExpress.Utils.Svg.SvgImage)resources.GetObject("barBtnSearchBox.ImageOptions.SvgImage");
+            barBtnSearchBox.ImageOptions.SvgImageSize = new Size(22, 22);
+            barBtnSearchBox.Name = "barBtnSearchBox";
+            barBtnSearchBox.CheckedChanged += barCkSearch_CheckedChanged;
             // 
             // barDockControlTop
             // 
@@ -198,6 +217,16 @@
             layoutControl1.TabIndex = 6;
             layoutControl1.Text = "layoutControl1";
             // 
+            // searchControl1
+            // 
+            searchControl1.Location = new Point(0, 0);
+            searchControl1.MenuManager = barManager1;
+            searchControl1.Name = "searchControl1";
+            searchControl1.Properties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] { new DevExpress.XtraEditors.Repository.ClearButton(), new DevExpress.XtraEditors.Repository.SearchButton() });
+            searchControl1.Size = new Size(276, 20);
+            searchControl1.StyleController = layoutControl1;
+            searchControl1.TabIndex = 5;
+            // 
             // treeList1
             // 
             treeList1.BorderStyle = DevExpress.XtraEditors.Controls.BorderStyles.NoBorder;
@@ -244,6 +273,17 @@
             layoutControlItem1.Size = new Size(276, 519);
             layoutControlItem1.TextSize = new Size(0, 0);
             layoutControlItem1.TextVisible = false;
+            // 
+            // layoutControlItemSearch
+            // 
+            layoutControlItemSearch.Control = searchControl1;
+            layoutControlItemSearch.Location = new Point(0, 0);
+            layoutControlItemSearch.Name = "layoutControlItemSearch";
+            layoutControlItemSearch.Padding = new DevExpress.XtraLayout.Utils.Padding(0, 0, 0, 0);
+            layoutControlItemSearch.Size = new Size(276, 20);
+            layoutControlItemSearch.TextSize = new Size(0, 0);
+            layoutControlItemSearch.TextVisible = false;
+            layoutControlItemSearch.Visibility = DevExpress.XtraLayout.Utils.LayoutVisibility.Never;
             // 
             // colAppearance
             // 
@@ -467,26 +507,12 @@
             popupMenu2.Manager = barManager1;
             popupMenu2.Name = "popupMenu2";
             // 
-            // searchControl1
+            // barCkTreeLine
             // 
-            searchControl1.Location = new Point(0, 0);
-            searchControl1.MenuManager = barManager1;
-            searchControl1.Name = "searchControl1";
-            searchControl1.Properties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] { new DevExpress.XtraEditors.Repository.ClearButton(), new DevExpress.XtraEditors.Repository.SearchButton() });
-            searchControl1.Size = new Size(276, 20);
-            searchControl1.StyleController = layoutControl1;
-            searchControl1.TabIndex = 5;
-            // 
-            // layoutControlItemSearch
-            // 
-            layoutControlItemSearch.Control = searchControl1;
-            layoutControlItemSearch.Location = new Point(0, 0);
-            layoutControlItemSearch.Name = "layoutControlItemSearch";
-            layoutControlItemSearch.Padding = new DevExpress.XtraLayout.Utils.Padding(0, 0, 0, 0);
-            layoutControlItemSearch.Size = new Size(276, 20);
-            layoutControlItemSearch.TextSize = new Size(0, 0);
-            layoutControlItemSearch.TextVisible = false;
-            layoutControlItemSearch.Visibility = DevExpress.XtraLayout.Utils.LayoutVisibility.Never;
+            barCkTreeLine.Caption = "barCheckItem1";
+            barCkTreeLine.Id = 58;
+            barCkTreeLine.ImageOptions.SvgImage = (DevExpress.Utils.Svg.SvgImage)resources.GetObject("barCkTreeLine.ImageOptions.SvgImage");
+            barCkTreeLine.Name = "barCkTreeLine";
             // 
             // SysTypeListBoxCtrl
             // 
@@ -504,14 +530,14 @@
             ((System.ComponentModel.ISupportInitialize)barManager1).EndInit();
             ((System.ComponentModel.ISupportInitialize)layoutControl1).EndInit();
             layoutControl1.ResumeLayout(false);
+            ((System.ComponentModel.ISupportInitialize)searchControl1.Properties).EndInit();
             ((System.ComponentModel.ISupportInitialize)treeList1).EndInit();
             ((System.ComponentModel.ISupportInitialize)moduleViewModelBindingSource).EndInit();
             ((System.ComponentModel.ISupportInitialize)Root).EndInit();
             ((System.ComponentModel.ISupportInitialize)layoutControlItem1).EndInit();
+            ((System.ComponentModel.ISupportInitialize)layoutControlItemSearch).EndInit();
             ((System.ComponentModel.ISupportInitialize)popupMenu1).EndInit();
             ((System.ComponentModel.ISupportInitialize)popupMenu2).EndInit();
-            ((System.ComponentModel.ISupportInitialize)searchControl1.Properties).EndInit();
-            ((System.ComponentModel.ISupportInitialize)layoutControlItemSearch).EndInit();
             ResumeLayout(false);
             PerformLayout();
         }
@@ -527,7 +553,7 @@
         private DevExpress.XtraLayout.LayoutControlGroup Root;
         private DevExpress.XtraBars.BarSubItem barRoot;
         private DevExpress.XtraBars.BarSubItem barRootBasicInfoMgr;
-        private DevExpress.XtraBars.BarCheckItem barCkSearch;
+        private DevExpress.XtraBars.BarCheckItem barBtnSearchBox;
         private DevExpress.XtraBars.PopupMenu popupMenu1;
         private DevExpress.XtraBars.PopupMenu popupMenu2;
         private DevExpress.XtraBars.BarButtonItem barButtonItem1;
@@ -568,5 +594,8 @@
         private DevExpress.XtraTreeList.Columns.TreeListColumn colName;
         private DevExpress.XtraEditors.SearchControl searchControl1;
         private DevExpress.XtraLayout.LayoutControlItem layoutControlItemSearch;
+        private DevExpress.XtraBars.BarButtonItem barBtnExpandAll;
+        private DevExpress.XtraBars.BarButtonItem barBtnCollpseAll;
+        private DevExpress.XtraBars.BarCheckItem barCkTreeLine;
     }
 }

--
Gitblit v1.9.3