From 3ee759fb8ca911b0fa3c4ccb82d318ca8ee559ad Mon Sep 17 00:00:00 2001 From: lu <123456> Date: 星期一, 18 八月 2025 11:00:54 +0800 Subject: [PATCH] bug --- DevApp/Gs.DevApp/UserControl/UcToolBarMenu.cs | 14 +++++++++++++- 1 files changed, 13 insertions(+), 1 deletions(-) diff --git a/DevApp/Gs.DevApp/UserControl/UcToolBarMenu.cs b/DevApp/Gs.DevApp/UserControl/UcToolBarMenu.cs index bd2410e..c429e15 100644 --- a/DevApp/Gs.DevApp/UserControl/UcToolBarMenu.cs +++ b/DevApp/Gs.DevApp/UserControl/UcToolBarMenu.cs @@ -62,6 +62,7 @@ btnLianBan.ItemClick += BtnLianBan_ItemClick; btnGx.ItemClick += BtnGx_ItemClick; btnWeight.ItemClick += BtnWeight_ItemClick; + btnBaoGao.ItemClick += BtnBaoGao_ItemClick; var lst = new List<string>(); foreach (BarItem item in barManager1.Items) if (item is BarLargeButtonItem largeButtonItem) @@ -69,6 +70,9 @@ lst.Add(item.Caption); actions = lst; } + + + /// <summary> /// 鍚姩绉伴噸 /// </summary> @@ -412,7 +416,11 @@ if (btnGxClick != null) btnGxClick(this, e); } - + private void BtnBaoGao_ItemClick(object sender, ItemClickEventArgs e) + { + if (btnBaoGaoClick != null) + btnBaoGaoClick(this, e); + } /// <summary> /// 鍙栨秷鏃讹紝杩樺師鎸夐挳鍙敤鎬� /// </summary> @@ -1039,6 +1047,10 @@ /// </summary> public event EventHandler btnGxClick; + /// <summary> + /// 鐢熸垚鎶ュ憡 + /// </summary> + public event EventHandler btnBaoGaoClick; #endregion #region 鍏叡灞炴�� -- Gitblit v1.9.3