From c2248f08e9bdc75cac6a329bf37234c7af17f16c Mon Sep 17 00:00:00 2001 From: lu <99954486@qq.com> Date: 星期五, 01 十一月 2024 15:20:47 +0800 Subject: [PATCH] 小细节 --- 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