lu
2025-10-21 64910d0297f94c7a5fb482b5abdffa8d5b266c95
DevApp/Gs.DevApp/UserControl/UcToolBarMenu.cs
@@ -3,13 +3,8 @@
using DevExpress.XtraGrid;
using DevExpress.XtraGrid.Views.Grid;
using DevExpress.XtraLayout;
using DevExpress.XtraRichEdit.Model;
using DevExpress.XtraWaitForm;
using Gs.DevApp.DevFrm;
using Gs.DevApp.DevFrm.QC;
using Gs.DevApp.DevFrm.Rpt;
using Gs.DevApp.DevFrm.Sys;
using Gs.DevApp.DevFrm.Work;
using Gs.DevApp.Entity;
using Gs.DevApp.ToolBox;
using Newtonsoft.Json;
@@ -68,6 +63,7 @@
            btnBaoGao.ItemClick += BtnBaoGao_ItemClick;
            btnPingZhi.ItemClick += BtnPingZhi_ItemClick;
            btnFPingZhi.ItemClick += BtnFPingZhi_ItemClick;
            btnLock.ItemClick += BtnLock_ItemClick;
            var lst = new List<string>();
            foreach (BarItem item in barManager1.Items)
                if (item is BarLargeButtonItem largeButtonItem)
@@ -76,6 +72,7 @@
            actions = lst;
        }
        /// <summary>
@@ -202,7 +199,10 @@
                MsgHelper.Warning("请先选择你要操作的行!");
                return;
            }
            UserControl.ShowLogcs frm = new ShowLogcs(this.guidKey);
            bool b = false;
            if (this.Parent.Text == "推送报表")
                b = true;
            UserControl.ShowLogcs frm = new ShowLogcs(this.guidKey, b);
            frm.ShowDialog();
        }
@@ -650,6 +650,12 @@
            Gs.DevApp.UserControl.SelectFont DevFrm = new SelectFont();
            DevFrm.ShowDialog();
        }
        private void BtnLock_ItemClick(object sender, ItemClickEventArgs e)
        {
            if (btnLockClick != null) btnLockClick(this, e);
        }
        private void _enabledBtn(List<string> lstBtn)
        {
            foreach (BarItem item in barManager1.Items)
@@ -1048,6 +1054,11 @@
        /// </summary>
        public event EventHandler btnFPingZhiClick;
        /// <summary>
        /// 用料清单解锁
        /// </summary>
        public event EventHandler btnLockClick;
        #endregion
        #region 公共属性