From 72b1cd95bc6b8e4956e7f6b8ea1968d0db1a969b Mon Sep 17 00:00:00 2001
From: lu <99954486@qq.com>
Date: 星期六, 26 四月 2025 13:12:21 +0800
Subject: [PATCH] 巡检

---
 DevApp/Gs.DevApp/UserControl/UcToolBarMenu.cs |   37 +++++++++++++++++++++++--------------
 1 files changed, 23 insertions(+), 14 deletions(-)

diff --git a/DevApp/Gs.DevApp/UserControl/UcToolBarMenu.cs b/DevApp/Gs.DevApp/UserControl/UcToolBarMenu.cs
index a14a8a2..95227ab 100644
--- a/DevApp/Gs.DevApp/UserControl/UcToolBarMenu.cs
+++ b/DevApp/Gs.DevApp/UserControl/UcToolBarMenu.cs
@@ -1,13 +1,4 @@
-锘縰sing System;
-using System.Collections.Generic;
-using System.Configuration;
-using System.Data;
-using System.IO;
-using System.Linq;
-using System.Net;
-using System.Text;
-using System.Windows.Forms;
-using DevExpress.XtraBars;
+锘縰sing DevExpress.XtraBars;
 using DevExpress.XtraEditors;
 using DevExpress.XtraGrid;
 using DevExpress.XtraGrid.Views.Grid;
@@ -18,6 +9,15 @@
 using Gs.DevApp.ToolBox;
 using Newtonsoft.Json;
 using Newtonsoft.Json.Linq;
+using System;
+using System.Collections.Generic;
+using System.Configuration;
+using System.Data;
+using System.IO;
+using System.Linq;
+using System.Net;
+using System.Text;
+using System.Windows.Forms;
 
 namespace Gs.DevApp.UserControl
 {
@@ -57,6 +57,7 @@
             btnHelp.ItemClick += BtnHelp_ItemClick;
             btnLayout.ItemClick += BtnLayout_ItemClick;
             btnFont.ItemClick += BtnFont_ItemClick;
+            btnShouJian.ItemClick += BtnShouJian_ItemClick;
             var lst = new List<string>();
             foreach (BarItem item in barManager1.Items)
                 if (item is BarLargeButtonItem largeButtonItem)
@@ -66,8 +67,6 @@
         }
 
      
-
-
         /// <summary>
         ///     鍒濆鍖栨寜閽姸鎬�
         /// </summary>
@@ -328,6 +327,13 @@
             //    parameter = chkParameter
             //};
             //_ckService(1.ToString());
+        }
+        private void BtnShouJian_ItemClick(object sender, ItemClickEventArgs e)
+        {
+            if (btnShouJianClick != null)
+                btnShouJianClick(this, e);
+            else
+                return;
         }
 
         private async void BtnIn_ItemClick(object sender, ItemClickEventArgs e)
@@ -1016,7 +1022,10 @@
         /// </summary>
         public event EventHandler btnWgClick;
 
-
+        /// <summary>
+        /// 鐢熸垚棣栨
+        /// </summary>
+        public event EventHandler btnShouJianClick;
         //public event EventHandler btnLayoutClick;
 
         #endregion
@@ -1228,7 +1237,7 @@
                             {
                                 spt.RestoreLayoutFromStream(stream);
                             }
-                           // spt.Horizontal = false;
+                            // spt.Horizontal = false;
                             spt.Panel1.AutoScroll = false;
                             spt.Panel2.AutoScroll = false;
                             //spt.Panel1.MaximumSize = new System.Drawing.Size(spt.Panel1.Width, 100);

--
Gitblit v1.9.3