From 65927056612a7ffef20708aefda33d09be51ef6b Mon Sep 17 00:00:00 2001
From: lg <999544862qq.com>
Date: 星期日, 08 九月 2024 22:16:00 +0800
Subject: [PATCH] 权限整理

---
 DevApp/Gs.DevApp/UserControl/ToolBarMenu.Designer.cs |  168 ++++++++++++++++++++++++++-----------------------------
 1 files changed, 80 insertions(+), 88 deletions(-)

diff --git a/DevApp/Gs.DevApp/UserControl/ToolBarMenu.Designer.cs b/DevApp/Gs.DevApp/UserControl/ToolBarMenu.Designer.cs
index 5cd8409..787ff3b 100644
--- a/DevApp/Gs.DevApp/UserControl/ToolBarMenu.Designer.cs
+++ b/DevApp/Gs.DevApp/UserControl/ToolBarMenu.Designer.cs
@@ -31,8 +31,6 @@
         {
             this.components = new System.ComponentModel.Container();
             System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(ToolBarMenu));
-            this.bar4 = new DevExpress.XtraBars.Bar();
-            this.bar1 = new DevExpress.XtraBars.Bar();
             this.barButtonItem2 = new DevExpress.XtraBars.BarButtonItem();
             this.barButtonItem1 = new DevExpress.XtraBars.BarButtonItem();
             this.barDockControlLeft = new DevExpress.XtraBars.BarDockControl();
@@ -41,39 +39,24 @@
             this.btnAdd = new DevExpress.XtraBars.BarLargeButtonItem();
             this.btnEdit = new DevExpress.XtraBars.BarLargeButtonItem();
             this.btnSave = new DevExpress.XtraBars.BarLargeButtonItem();
-            this.btnView = new DevExpress.XtraBars.BarLargeButtonItem();
-            this.barLargeButtonItem6 = new DevExpress.XtraBars.BarLargeButtonItem();
+            this.btnEsc = new DevExpress.XtraBars.BarLargeButtonItem();
             this.btnLoad = new DevExpress.XtraBars.BarLargeButtonItem();
+            this.btnDel = new DevExpress.XtraBars.BarLargeButtonItem();
             this.barLargeButtonItem9 = new DevExpress.XtraBars.BarLargeButtonItem();
             this.barLargeButtonItem10 = new DevExpress.XtraBars.BarLargeButtonItem();
-            this.btnDel = new DevExpress.XtraBars.BarLargeButtonItem();
             this.barLargeButtonItem1 = new DevExpress.XtraBars.BarLargeButtonItem();
             this.barLargeButtonItem2 = new DevExpress.XtraBars.BarLargeButtonItem();
             this.barLargeButtonItem8 = new DevExpress.XtraBars.BarLargeButtonItem();
             this.barLargeButtonItem3 = new DevExpress.XtraBars.BarLargeButtonItem();
             this.barLargeButtonItem4 = new DevExpress.XtraBars.BarLargeButtonItem();
+            this.btnKG = new DevExpress.XtraBars.BarLargeButtonItem();
+            this.btnRole = new DevExpress.XtraBars.BarLargeButtonItem();
             this.barDockControlTop = new DevExpress.XtraBars.BarDockControl();
             this.barDockControlBottom = new DevExpress.XtraBars.BarDockControl();
             this.barDockControlRight = new DevExpress.XtraBars.BarDockControl();
-            this.bar3 = new DevExpress.XtraBars.Bar();
+            this.barLargeButtonItem5 = new DevExpress.XtraBars.BarLargeButtonItem();
             ((System.ComponentModel.ISupportInitialize)(this.barManager1)).BeginInit();
             this.SuspendLayout();
-            // 
-            // bar4
-            // 
-            this.bar4.BarName = "Custom 5";
-            this.bar4.DockCol = 0;
-            this.bar4.DockRow = 2;
-            this.bar4.DockStyle = DevExpress.XtraBars.BarDockStyle.Top;
-            this.bar4.Text = "Custom 5";
-            // 
-            // bar1
-            // 
-            this.bar1.BarName = "Tools";
-            this.bar1.DockCol = 0;
-            this.bar1.DockRow = 1;
-            this.bar1.DockStyle = DevExpress.XtraBars.BarDockStyle.Top;
-            this.bar1.Text = "Tools";
             // 
             // barButtonItem2
             // 
@@ -92,7 +75,7 @@
             this.barDockControlLeft.Dock = System.Windows.Forms.DockStyle.Left;
             this.barDockControlLeft.Location = new System.Drawing.Point(0, 74);
             this.barDockControlLeft.Manager = this.barManager1;
-            this.barDockControlLeft.Size = new System.Drawing.Size(0, 0);
+            this.barDockControlLeft.Size = new System.Drawing.Size(0, 3);
             // 
             // barManager1
             // 
@@ -108,9 +91,8 @@
             this.btnDel,
             this.btnEdit,
             this.btnSave,
-            this.btnView,
             this.barButtonItem1,
-            this.barLargeButtonItem6,
+            this.btnEsc,
             this.btnLoad,
             this.barButtonItem2,
             this.barLargeButtonItem8,
@@ -119,9 +101,12 @@
             this.barLargeButtonItem1,
             this.barLargeButtonItem2,
             this.barLargeButtonItem3,
-            this.barLargeButtonItem4});
+            this.barLargeButtonItem4,
+            this.btnKG,
+            this.barLargeButtonItem5,
+            this.btnRole});
             this.barManager1.MainMenu = this.bar2;
-            this.barManager1.MaxItemId = 19;
+            this.barManager1.MaxItemId = 22;
             // 
             // bar2
             // 
@@ -133,17 +118,18 @@
             new DevExpress.XtraBars.LinkPersistInfo(DevExpress.XtraBars.BarLinkUserDefines.PaintStyle, this.btnAdd, DevExpress.XtraBars.BarItemPaintStyle.CaptionGlyph),
             new DevExpress.XtraBars.LinkPersistInfo(DevExpress.XtraBars.BarLinkUserDefines.PaintStyle, this.btnEdit, DevExpress.XtraBars.BarItemPaintStyle.CaptionGlyph),
             new DevExpress.XtraBars.LinkPersistInfo(DevExpress.XtraBars.BarLinkUserDefines.PaintStyle, this.btnSave, DevExpress.XtraBars.BarItemPaintStyle.CaptionGlyph),
-            new DevExpress.XtraBars.LinkPersistInfo(DevExpress.XtraBars.BarLinkUserDefines.PaintStyle, this.btnView, DevExpress.XtraBars.BarItemPaintStyle.CaptionGlyph),
-            new DevExpress.XtraBars.LinkPersistInfo(this.barLargeButtonItem6),
+            new DevExpress.XtraBars.LinkPersistInfo(this.btnEsc),
             new DevExpress.XtraBars.LinkPersistInfo(this.btnLoad),
+            new DevExpress.XtraBars.LinkPersistInfo(DevExpress.XtraBars.BarLinkUserDefines.PaintStyle, this.btnDel, DevExpress.XtraBars.BarItemPaintStyle.CaptionGlyph),
             new DevExpress.XtraBars.LinkPersistInfo(this.barLargeButtonItem9),
             new DevExpress.XtraBars.LinkPersistInfo(this.barLargeButtonItem10),
-            new DevExpress.XtraBars.LinkPersistInfo(DevExpress.XtraBars.BarLinkUserDefines.PaintStyle, this.btnDel, DevExpress.XtraBars.BarItemPaintStyle.CaptionGlyph),
             new DevExpress.XtraBars.LinkPersistInfo(this.barLargeButtonItem1),
             new DevExpress.XtraBars.LinkPersistInfo(this.barLargeButtonItem2),
             new DevExpress.XtraBars.LinkPersistInfo(this.barLargeButtonItem8),
             new DevExpress.XtraBars.LinkPersistInfo(this.barLargeButtonItem3),
-            new DevExpress.XtraBars.LinkPersistInfo(this.barLargeButtonItem4)});
+            new DevExpress.XtraBars.LinkPersistInfo(this.barLargeButtonItem4),
+            new DevExpress.XtraBars.LinkPersistInfo(this.btnKG),
+            new DevExpress.XtraBars.LinkPersistInfo(this.btnRole)});
             this.bar2.OptionsBar.MultiLine = true;
             this.bar2.OptionsBar.UseWholeRow = true;
             this.bar2.Text = "Main menu";
@@ -180,25 +166,15 @@
             this.btnSave.ItemAppearance.Normal.Options.UseFont = true;
             this.btnSave.Name = "btnSave";
             // 
-            // btnView
+            // btnEsc
             // 
-            this.btnView.Caption = "鏌ョ湅";
-            this.btnView.Id = 7;
-            this.btnView.ImageOptions.Image = global::Gs.DevApp.Properties.Resources.show_16x16;
-            this.btnView.ImageOptions.LargeImage = global::Gs.DevApp.Properties.Resources.show_32x32;
-            this.btnView.ItemAppearance.Normal.Font = new System.Drawing.Font("Tahoma", 10F);
-            this.btnView.ItemAppearance.Normal.Options.UseFont = true;
-            this.btnView.Name = "btnView";
-            // 
-            // barLargeButtonItem6
-            // 
-            this.barLargeButtonItem6.Caption = "鍙栨秷";
-            this.barLargeButtonItem6.Id = 9;
-            this.barLargeButtonItem6.ImageOptions.Image = ((System.Drawing.Image)(resources.GetObject("barLargeButtonItem6.ImageOptions.Image")));
-            this.barLargeButtonItem6.ImageOptions.LargeImage = ((System.Drawing.Image)(resources.GetObject("barLargeButtonItem6.ImageOptions.LargeImage")));
-            this.barLargeButtonItem6.ItemAppearance.Normal.Font = new System.Drawing.Font("Tahoma", 10F);
-            this.barLargeButtonItem6.ItemAppearance.Normal.Options.UseFont = true;
-            this.barLargeButtonItem6.Name = "barLargeButtonItem6";
+            this.btnEsc.Caption = "鍙栨秷";
+            this.btnEsc.Id = 9;
+            this.btnEsc.ImageOptions.Image = ((System.Drawing.Image)(resources.GetObject("btnEsc.ImageOptions.Image")));
+            this.btnEsc.ImageOptions.LargeImage = ((System.Drawing.Image)(resources.GetObject("btnEsc.ImageOptions.LargeImage")));
+            this.btnEsc.ItemAppearance.Normal.Font = new System.Drawing.Font("Tahoma", 10F);
+            this.btnEsc.ItemAppearance.Normal.Options.UseFont = true;
+            this.btnEsc.Name = "btnEsc";
             // 
             // btnLoad
             // 
@@ -210,26 +186,6 @@
             this.btnLoad.ItemAppearance.Normal.Options.UseFont = true;
             this.btnLoad.Name = "btnLoad";
             // 
-            // barLargeButtonItem9
-            // 
-            this.barLargeButtonItem9.Caption = "瀹℃牳";
-            this.barLargeButtonItem9.Id = 13;
-            this.barLargeButtonItem9.ImageOptions.Image = global::Gs.DevApp.Properties.Resources.checkbox2_16x16;
-            this.barLargeButtonItem9.ImageOptions.LargeImage = global::Gs.DevApp.Properties.Resources.checkbox2_32x32;
-            this.barLargeButtonItem9.ItemAppearance.Normal.Font = new System.Drawing.Font("Tahoma", 10F);
-            this.barLargeButtonItem9.ItemAppearance.Normal.Options.UseFont = true;
-            this.barLargeButtonItem9.Name = "barLargeButtonItem9";
-            // 
-            // barLargeButtonItem10
-            // 
-            this.barLargeButtonItem10.Caption = "鍙嶅鏍�";
-            this.barLargeButtonItem10.Id = 14;
-            this.barLargeButtonItem10.ImageOptions.Image = global::Gs.DevApp.Properties.Resources.forcetesting_16x16;
-            this.barLargeButtonItem10.ImageOptions.LargeImage = global::Gs.DevApp.Properties.Resources.forcetesting_32x32;
-            this.barLargeButtonItem10.ItemAppearance.Normal.Font = new System.Drawing.Font("Tahoma", 10F);
-            this.barLargeButtonItem10.ItemAppearance.Normal.Options.UseFont = true;
-            this.barLargeButtonItem10.Name = "barLargeButtonItem10";
-            // 
             // btnDel
             // 
             this.btnDel.Caption = "鍒犻櫎";
@@ -240,6 +196,28 @@
             this.btnDel.ItemAppearance.Normal.Options.UseFont = true;
             this.btnDel.Name = "btnDel";
             // 
+            // barLargeButtonItem9
+            // 
+            this.barLargeButtonItem9.Caption = "瀹℃牳";
+            this.barLargeButtonItem9.Id = 13;
+            this.barLargeButtonItem9.ImageOptions.Image = global::Gs.DevApp.Properties.Resources.checkbox2_16x16;
+            this.barLargeButtonItem9.ImageOptions.LargeImage = global::Gs.DevApp.Properties.Resources.checkbox2_32x32;
+            this.barLargeButtonItem9.ItemAppearance.Normal.Font = new System.Drawing.Font("Tahoma", 10F);
+            this.barLargeButtonItem9.ItemAppearance.Normal.Options.UseFont = true;
+            this.barLargeButtonItem9.Name = "barLargeButtonItem9";
+            this.barLargeButtonItem9.Visibility = DevExpress.XtraBars.BarItemVisibility.Never;
+            // 
+            // barLargeButtonItem10
+            // 
+            this.barLargeButtonItem10.Caption = "鍙嶅鏍�";
+            this.barLargeButtonItem10.Id = 14;
+            this.barLargeButtonItem10.ImageOptions.Image = global::Gs.DevApp.Properties.Resources.forcetesting_16x16;
+            this.barLargeButtonItem10.ImageOptions.LargeImage = global::Gs.DevApp.Properties.Resources.forcetesting_32x32;
+            this.barLargeButtonItem10.ItemAppearance.Normal.Font = new System.Drawing.Font("Tahoma", 10F);
+            this.barLargeButtonItem10.ItemAppearance.Normal.Options.UseFont = true;
+            this.barLargeButtonItem10.Name = "barLargeButtonItem10";
+            this.barLargeButtonItem10.Visibility = DevExpress.XtraBars.BarItemVisibility.Never;
+            // 
             // barLargeButtonItem1
             // 
             this.barLargeButtonItem1.Caption = "鎵撳嵃";
@@ -249,6 +227,7 @@
             this.barLargeButtonItem1.ItemAppearance.Normal.Font = new System.Drawing.Font("Tahoma", 10F);
             this.barLargeButtonItem1.ItemAppearance.Normal.Options.UseFont = true;
             this.barLargeButtonItem1.Name = "barLargeButtonItem1";
+            this.barLargeButtonItem1.Visibility = DevExpress.XtraBars.BarItemVisibility.Never;
             // 
             // barLargeButtonItem2
             // 
@@ -259,6 +238,7 @@
             this.barLargeButtonItem2.ItemAppearance.Normal.Font = new System.Drawing.Font("Tahoma", 10F);
             this.barLargeButtonItem2.ItemAppearance.Normal.Options.UseFont = true;
             this.barLargeButtonItem2.Name = "barLargeButtonItem2";
+            this.barLargeButtonItem2.Visibility = DevExpress.XtraBars.BarItemVisibility.Never;
             // 
             // barLargeButtonItem8
             // 
@@ -270,6 +250,7 @@
             this.barLargeButtonItem8.ItemAppearance.Normal.Font = new System.Drawing.Font("Tahoma", 10F);
             this.barLargeButtonItem8.ItemAppearance.Normal.Options.UseFont = true;
             this.barLargeButtonItem8.Name = "barLargeButtonItem8";
+            this.barLargeButtonItem8.Visibility = DevExpress.XtraBars.BarItemVisibility.Never;
             // 
             // barLargeButtonItem3
             // 
@@ -280,6 +261,7 @@
             this.barLargeButtonItem3.ItemAppearance.Normal.Font = new System.Drawing.Font("Tahoma", 10F);
             this.barLargeButtonItem3.ItemAppearance.Normal.Options.UseFont = true;
             this.barLargeButtonItem3.Name = "barLargeButtonItem3";
+            this.barLargeButtonItem3.Visibility = DevExpress.XtraBars.BarItemVisibility.Never;
             // 
             // barLargeButtonItem4
             // 
@@ -288,6 +270,24 @@
             this.barLargeButtonItem4.ImageOptions.Image = global::Gs.DevApp.Properties.Resources.salesperiodlifetime_16x16;
             this.barLargeButtonItem4.ImageOptions.LargeImage = global::Gs.DevApp.Properties.Resources.salesperiodlifetime_32x32;
             this.barLargeButtonItem4.Name = "barLargeButtonItem4";
+            this.barLargeButtonItem4.Visibility = DevExpress.XtraBars.BarItemVisibility.Never;
+            // 
+            // btnKG
+            // 
+            this.btnKG.Caption = "寮�宸�";
+            this.btnKG.Id = 19;
+            this.btnKG.ImageOptions.Image = ((System.Drawing.Image)(resources.GetObject("btnKG.ImageOptions.Image")));
+            this.btnKG.ImageOptions.LargeImage = ((System.Drawing.Image)(resources.GetObject("btnKG.ImageOptions.LargeImage")));
+            this.btnKG.Name = "btnKG";
+            this.btnKG.Visibility = DevExpress.XtraBars.BarItemVisibility.Never;
+            // 
+            // btnRole
+            // 
+            this.btnRole.Caption = "淇濆瓨鏉冮檺";
+            this.btnRole.Id = 21;
+            this.btnRole.ImageOptions.Image = global::Gs.DevApp.Properties.Resources.editrangepermission_16x16;
+            this.btnRole.ImageOptions.LargeImage = global::Gs.DevApp.Properties.Resources.editrangepermission_32x32;
+            this.btnRole.Name = "btnRole";
             // 
             // barDockControlTop
             // 
@@ -301,7 +301,7 @@
             // 
             this.barDockControlBottom.CausesValidation = false;
             this.barDockControlBottom.Dock = System.Windows.Forms.DockStyle.Bottom;
-            this.barDockControlBottom.Location = new System.Drawing.Point(0, 72);
+            this.barDockControlBottom.Location = new System.Drawing.Point(0, 77);
             this.barDockControlBottom.Manager = this.barManager1;
             this.barDockControlBottom.Size = new System.Drawing.Size(1119, 0);
             // 
@@ -311,19 +311,13 @@
             this.barDockControlRight.Dock = System.Windows.Forms.DockStyle.Right;
             this.barDockControlRight.Location = new System.Drawing.Point(1119, 74);
             this.barDockControlRight.Manager = this.barManager1;
-            this.barDockControlRight.Size = new System.Drawing.Size(0, 0);
+            this.barDockControlRight.Size = new System.Drawing.Size(0, 3);
             // 
-            // bar3
+            // barLargeButtonItem5
             // 
-            this.bar3.BarName = "Status bar";
-            this.bar3.CanDockStyle = DevExpress.XtraBars.BarCanDockStyle.Bottom;
-            this.bar3.DockCol = 0;
-            this.bar3.DockRow = 0;
-            this.bar3.DockStyle = DevExpress.XtraBars.BarDockStyle.Bottom;
-            this.bar3.OptionsBar.AllowQuickCustomization = false;
-            this.bar3.OptionsBar.DrawDragBorder = false;
-            this.bar3.OptionsBar.UseWholeRow = true;
-            this.bar3.Text = "Status bar";
+            this.barLargeButtonItem5.Caption = "鍒楄〃";
+            this.barLargeButtonItem5.Id = 20;
+            this.barLargeButtonItem5.Name = "barLargeButtonItem5";
             // 
             // ToolBarMenu
             // 
@@ -334,7 +328,7 @@
             this.Controls.Add(this.barDockControlBottom);
             this.Controls.Add(this.barDockControlTop);
             this.Name = "ToolBarMenu";
-            this.Size = new System.Drawing.Size(1119, 72);
+            this.Size = new System.Drawing.Size(1119, 77);
             ((System.ComponentModel.ISupportInitialize)(this.barManager1)).EndInit();
             this.ResumeLayout(false);
             this.PerformLayout();
@@ -342,9 +336,6 @@
         }
 
         #endregion
-
-        private DevExpress.XtraBars.Bar bar4;
-        private DevExpress.XtraBars.Bar bar1;
         private DevExpress.XtraBars.BarButtonItem barButtonItem2;
         private DevExpress.XtraBars.BarButtonItem barButtonItem1;
         private DevExpress.XtraBars.BarDockControl barDockControlLeft;
@@ -354,8 +345,7 @@
         private DevExpress.XtraBars.BarLargeButtonItem btnDel;
         private DevExpress.XtraBars.BarLargeButtonItem btnEdit;
         private DevExpress.XtraBars.BarLargeButtonItem btnSave;
-        private DevExpress.XtraBars.BarLargeButtonItem btnView;
-        private DevExpress.XtraBars.BarLargeButtonItem barLargeButtonItem6;
+        private DevExpress.XtraBars.BarLargeButtonItem btnEsc;
         private DevExpress.XtraBars.BarLargeButtonItem btnLoad;
         private DevExpress.XtraBars.BarLargeButtonItem barLargeButtonItem8;
         private DevExpress.XtraBars.BarLargeButtonItem barLargeButtonItem9;
@@ -363,10 +353,12 @@
         private DevExpress.XtraBars.BarDockControl barDockControlTop;
         private DevExpress.XtraBars.BarDockControl barDockControlBottom;
         private DevExpress.XtraBars.BarDockControl barDockControlRight;
-        private DevExpress.XtraBars.Bar bar3;
         private DevExpress.XtraBars.BarLargeButtonItem barLargeButtonItem1;
         private DevExpress.XtraBars.BarLargeButtonItem barLargeButtonItem2;
         private DevExpress.XtraBars.BarLargeButtonItem barLargeButtonItem3;
         private DevExpress.XtraBars.BarLargeButtonItem barLargeButtonItem4;
+        private DevExpress.XtraBars.BarLargeButtonItem btnKG;
+        private DevExpress.XtraBars.BarLargeButtonItem barLargeButtonItem5;
+        private DevExpress.XtraBars.BarLargeButtonItem btnRole;
     }
 }

--
Gitblit v1.9.3