lu
2024-11-01 c2248f08e9bdc75cac6a329bf37234c7af17f16c
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)