lu
2024-12-25 ac46be7a67371ee4fd9b5ceeb9a14161a75d49a9
DevApp/Gs.DevApp/UserControl/UcToolBarMenu.cs
@@ -439,6 +439,7 @@
                lst.Add(btnPiZhun.Name);
                lst.Add(btnHelp.Name);
                _enabledBtn(lst);
                this.currentAction = "esc";
                if (btnEscClick != null) btnEscClick(this, e);
            }
        }
@@ -456,6 +457,9 @@
                    lst.Add(btnAdd.Name);
                    lst.Add(btnEdit.Name);
                    lst.Add(btnEsc.Name);
                    lst.Add(btnChk.Name);
                    lst.Add(btnFchk.Name);
                    lst.Add(btnDel.Name);
                    _enabledBtn(lst);
                }
            }
@@ -477,6 +481,7 @@
            lst.Add(btnEsc.Name);
            lst.Add(btnHelp.Name);
            _enabledBtn(lst);
            this.currentAction = "edit";
            if (btnEdtClick != null) btnEdtClick(this, e);
        }
@@ -496,6 +501,7 @@
            lst.Add(btnEsc.Name);
            lst.Add(btnHelp.Name);
            _enabledBtn(lst);
            this.currentAction = "add";
            if (btnAddClick != null) btnAddClick(this, e);
        }
@@ -915,6 +921,10 @@
        /// </summary>
        public string chkParameter { get; set; }
        /// <summary>
        /// 当前状态
        /// </summary>
        public string currentAction { get; set; }
        #endregion