kyy
13 小时以前 9010fdfa1f7f6fe29c76111ef95d6383c74ea313
DevApp/Gs.DevApp/UserControl/UcToolBarMenu.cs
@@ -57,6 +57,8 @@
            btnShouHouChk.ItemClick += BtnShouHouChk_ItemClick;
            btnShouHouFchk.ItemClick += BtnShouHouFchk_ItemClick;
            btnHb.ItemClick += BtnHb_ItemClick;
            btnChbg.ItemClick += BtnChbg_ItemClick;
            btnBaoGao.ItemClick += BtnBaoGao_ItemClick;
            var lst = new List<string>();
            foreach (BarItem item in barManager1.Items)
                if (item is BarLargeButtonItem largeButtonItem)
@@ -310,7 +312,7 @@
                btnPrintClick(this, e);
            else
                return;
           // 2025 - 09 - 01 kyy 注释不使用这个公用方法
            if (rptParameter == "return false")
                return;
            if (string.IsNullOrEmpty(rptParameter))
@@ -399,6 +401,8 @@
                lst.Add(btnShouHouChk.Name);
                lst.Add(btnShouHouFchk.Name);
                lst.Add(btnHb.Name);
                lst.Add(btnChbg.Name);
                lst.Add(btnBaoGao.Name);
                _enabledBtn(lst);
                this.currentAction = "esc";
                if (btnEscClick != null) btnEscClick(this, e);
@@ -447,6 +451,8 @@
                    lst.Add(btnShouHouFchk.Name);
                    lst.Add(btnEdit.Name);
                    lst.Add(btnHb.Name);
                    lst.Add(btnChbg.Name);
                    lst.Add(btnBaoGao.Name);
                    _enabledBtn(lst);
                }
@@ -475,6 +481,7 @@
            lst.Add(btnFont.Name);
            lst.Add(btnFont.Name);
            lst.Add(btnLog.Name);
            lst.Add(btnBaoGao.Name);
            _enabledBtn(lst);
            this.currentAction = "edit";
            if (btnEdtClick != null) btnEdtClick(this, e);
@@ -533,7 +540,7 @@
        private void BtnHb_ItemClick(object sender, ItemClickEventArgs e)
        {
            //点击按钮时将未审核样式改为审核样式
            bool bl = _isCk(1);
            if (bl) return;
            if (btnHbClick != null)
@@ -606,6 +613,17 @@
        {
            Gs.DevApp.UserControl.SelectFont DevFrm = new SelectFont();
            DevFrm.ShowDialog();
        }
        private void BtnChbg_ItemClick(object sender, ItemClickEventArgs e)
        {
            if (btnChbgClick != null) btnChbgClick(this, e);
        }
        private void BtnBaoGao_ItemClick(object sender, ItemClickEventArgs e)
        {
            if (btnBaoGaoClick != null)
                btnBaoGaoClick(this, e);
        }
        private void _enabledBtn(List<string> lstBtn)
        {
@@ -988,6 +1006,16 @@
        /// </summary>
        public event EventHandler btnHbClick;
        /// <summary>
        ///    撤回报工
        /// </summary>
        public event EventHandler btnChbgClick;
        /// <summary>
        /// 生成报告
        /// </summary>
        public event EventHandler btnBaoGaoClick;
        #endregion
        #region 公共属性
@@ -1120,7 +1148,6 @@
            }
            return spcList;
        }
        /// <summary>
        /// 读取xml配置,目前配置gcMain1,layoutMx1,加查询条件
        /// </summary>