From 918812dd8b40d510feeaf6842b0f16b374f64ca8 Mon Sep 17 00:00:00 2001 From: 啊鑫 <t2856754968@163.com> Date: 星期六, 02 十一月 2024 16:45:45 +0800 Subject: [PATCH] 11 --- DevApp/Gs.DevApp/UserControl/UcToolBarMenu.cs | 7 ++++--- 1 files changed, 4 insertions(+), 3 deletions(-) diff --git a/DevApp/Gs.DevApp/UserControl/UcToolBarMenu.cs b/DevApp/Gs.DevApp/UserControl/UcToolBarMenu.cs index c36ee95..5b1867d 100644 --- a/DevApp/Gs.DevApp/UserControl/UcToolBarMenu.cs +++ b/DevApp/Gs.DevApp/UserControl/UcToolBarMenu.cs @@ -46,7 +46,7 @@ var lst = new List<string>(); foreach (BarItem item in barManager1.Items) if (item is BarLargeButtonItem largeButtonItem) - if (!string.IsNullOrEmpty(item.Caption)) + if (!string.IsNullOrEmpty(item.Caption) && item.Caption != "淇濆瓨" && item.Caption != "鍒锋柊") lst.Add(item.Caption); actions = lst; } @@ -411,11 +411,12 @@ lst.Add(btnDesign.Name); lst.Add(btnChk.Name); lst.Add(btnFchk.Name); - lst.Add(btnLoad.Name); lst.Add(btnJianYan.Name); lst.Add(btnFjianYan.Name); lst.Add(btnOut.Name); lst.Add(btnIn.Name); + lst.Add(btnLog.Name); + lst.Add(btnPiZhun.Name); _enabledBtn(lst); if (btnEscClick != null) btnEscClick(this, e); } @@ -612,7 +613,7 @@ } //榛樿鍚敤鐨勬寜閽� - // _enabledList.Add(btnDesign.Name); + _enabledList.Add(btnLoad.Name); _enabledBtn(_enabledList); } catch (Exception ex) -- Gitblit v1.9.3