From e7df5d1ece7ecabaa7a3943f24a6621649fdc455 Mon Sep 17 00:00:00 2001
From: duheng <2784771470@qq.com>
Date: 星期一, 13 一月 2025 16:08:11 +0800
Subject: [PATCH] 增加批量添加,修改阀门界面

---
 WinFrmUI/HStation.WinFrmUI.Auth.Core/01-menu/MenuMgrPage.Designer.cs |   84 ++++++++++++++++++------------------------
 1 files changed, 36 insertions(+), 48 deletions(-)

diff --git a/WinFrmUI/HStation.WinFrmUI.Auth.Core/01-menu/MenuMgrPage.Designer.cs b/WinFrmUI/HStation.WinFrmUI.Auth.Core/01-menu/MenuMgrPage.Designer.cs
index 2a99742..88c78fe 100644
--- a/WinFrmUI/HStation.WinFrmUI.Auth.Core/01-menu/MenuMgrPage.Designer.cs
+++ b/WinFrmUI/HStation.WinFrmUI.Auth.Core/01-menu/MenuMgrPage.Designer.cs
@@ -44,16 +44,14 @@
             ribbonPageGroup1 = new DevExpress.XtraBars.Ribbon.RibbonPageGroup();
             ribPageGroupForMore = new DevExpress.XtraBars.Ribbon.RibbonPageGroup();
             treeList1 = new DevExpress.XtraTreeList.TreeList();
-            colType = new DevExpress.XtraTreeList.Columns.TreeListColumn();
             colName = new DevExpress.XtraTreeList.Columns.TreeListColumn();
-            colPermission = new DevExpress.XtraTreeList.Columns.TreeListColumn();
-            colIsIframe = new DevExpress.XtraTreeList.Columns.TreeListColumn();
-            colIsHide = new DevExpress.XtraTreeList.Columns.TreeListColumn();
-            colWeight = new DevExpress.XtraTreeList.Columns.TreeListColumn();
             colDescription = new DevExpress.XtraTreeList.Columns.TreeListColumn();
+            colType = new DevExpress.XtraTreeList.Columns.TreeListColumn();
+            ColPermission = new DevExpress.XtraTreeList.Columns.TreeListColumn();
             menuViewModelBindingSource = new BindingSource(components);
             behaviorManager1 = new DevExpress.Utils.Behaviors.BehaviorManager(components);
             dragDropEvents1 = new DevExpress.Utils.DragDrop.DragDropEvents(components);
+            colWeight = new DevExpress.XtraTreeList.Columns.TreeListColumn();
             ((System.ComponentModel.ISupportInitialize)svgImgC32).BeginInit();
             ((System.ComponentModel.ISupportInitialize)ribbonControl1).BeginInit();
             ((System.ComponentModel.ISupportInitialize)treeList1).BeginInit();
@@ -171,63 +169,48 @@
             // treeList1
             // 
             behaviorManager1.SetBehaviors(treeList1, new DevExpress.Utils.Behaviors.Behavior[] { DevExpress.Utils.DragDrop.DragDropBehavior.Create(typeof(DevExpress.XtraTreeList.TreeListDragDropSource), true, true, true, false, dragDropEvents1) });
-            treeList1.Columns.AddRange(new DevExpress.XtraTreeList.Columns.TreeListColumn[] { colType, colName, colPermission, colIsIframe, colIsHide, colWeight, colDescription });
+            treeList1.Columns.AddRange(new DevExpress.XtraTreeList.Columns.TreeListColumn[] { colName, colDescription, colType, ColPermission });
             treeList1.DataSource = menuViewModelBindingSource;
             treeList1.Dock = DockStyle.Fill;
             treeList1.Location = new Point(0, 101);
             treeList1.MenuManager = ribbonControl1;
             treeList1.Name = "treeList1";
+            treeList1.OptionsBehavior.PopulateServiceColumns = true;
+            treeList1.OptionsView.ShowTreeLines = DevExpress.Utils.DefaultBoolean.True;
             treeList1.Size = new Size(932, 372);
             treeList1.TabIndex = 2;
             // 
-            // colType
-            // 
-            colType.FieldName = "Type";
-            colType.Name = "colType";
-            colType.Visible = true;
-            colType.VisibleIndex = 0;
-            // 
             // colName
             // 
+            colName.AppearanceCell.Options.UseTextOptions = true;
+            colName.AppearanceCell.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Near;
             colName.FieldName = "Name";
             colName.Name = "colName";
             colName.Visible = true;
-            colName.VisibleIndex = 1;
-            // 
-            // colPermission
-            // 
-            colPermission.FieldName = "Permission";
-            colPermission.Name = "colPermission";
-            colPermission.Visible = true;
-            colPermission.VisibleIndex = 2;
-            // 
-            // colIsIframe
-            // 
-            colIsIframe.FieldName = "IsIframe";
-            colIsIframe.Name = "colIsIframe";
-            colIsIframe.Visible = true;
-            colIsIframe.VisibleIndex = 3;
-            // 
-            // colIsHide
-            // 
-            colIsHide.FieldName = "IsHide";
-            colIsHide.Name = "colIsHide";
-            colIsHide.Visible = true;
-            colIsHide.VisibleIndex = 4;
-            // 
-            // colWeight
-            // 
-            colWeight.FieldName = "Weight";
-            colWeight.Name = "colWeight";
-            colWeight.Visible = true;
-            colWeight.VisibleIndex = 5;
+            colName.VisibleIndex = 0;
             // 
             // colDescription
             // 
             colDescription.FieldName = "Description";
             colDescription.Name = "colDescription";
             colDescription.Visible = true;
-            colDescription.VisibleIndex = 6;
+            colDescription.VisibleIndex = 3;
+            // 
+            // colType
+            // 
+            colType.Caption = "绫诲瀷";
+            colType.FieldName = "Type";
+            colType.Name = "colType";
+            colType.Visible = true;
+            colType.VisibleIndex = 1;
+            // 
+            // ColPermission
+            // 
+            ColPermission.Caption = "鏉冮檺鏍囪瘑";
+            ColPermission.FieldName = "Permission";
+            ColPermission.Name = "ColPermission";
+            ColPermission.Visible = true;
+            ColPermission.VisibleIndex = 2;
             // 
             // menuViewModelBindingSource
             // 
@@ -236,6 +219,13 @@
             // dragDropEvents1
             // 
             dragDropEvents1.DragDrop += dragDropEvents1_DragDrop;
+            // 
+            // colWeight
+            // 
+            colWeight.FieldName = "Weight";
+            colWeight.Name = "colWeight";
+            colWeight.Visible = true;
+            colWeight.VisibleIndex = 2;
             // 
             // MenuMgrPage
             // 
@@ -272,14 +262,12 @@
         private DevExpress.XtraBars.Ribbon.RibbonPageGroup ribPageGroupForMore;
         private DevExpress.XtraTreeList.TreeList treeList1;
         private DevExpress.Utils.Behaviors.BehaviorManager behaviorManager1;
-        private DevExpress.XtraTreeList.Columns.TreeListColumn colType;
         private DevExpress.XtraTreeList.Columns.TreeListColumn colName;
-        private DevExpress.XtraTreeList.Columns.TreeListColumn colPermission;
-        private DevExpress.XtraTreeList.Columns.TreeListColumn colIsIframe;
-        private DevExpress.XtraTreeList.Columns.TreeListColumn colIsHide;
-        private DevExpress.XtraTreeList.Columns.TreeListColumn colWeight;
         private DevExpress.XtraTreeList.Columns.TreeListColumn colDescription;
         private BindingSource menuViewModelBindingSource;
         private DevExpress.Utils.DragDrop.DragDropEvents dragDropEvents1;
+        private DevExpress.XtraTreeList.Columns.TreeListColumn colType;
+        private DevExpress.XtraTreeList.Columns.TreeListColumn colWeight;
+        private DevExpress.XtraTreeList.Columns.TreeListColumn ColPermission;
     }
 }

--
Gitblit v1.9.3