| | |
| | | using DevExpress.XtraGrid; |
| | | using DevExpress.XtraGrid.Views.Grid; |
| | | using DevExpress.XtraLayout; |
| | | 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; |
| | |
| | | btnGongZi.ItemClick += BtnGongZi_ItemClick; |
| | | btnLianBan.ItemClick += BtnLianBan_ItemClick; |
| | | btnGx.ItemClick += BtnGx_ItemClick; |
| | | btnBaoGao.ItemClick += BtnBaoGao_ItemClick; |
| | | var lst = new List<string>(); |
| | | foreach (BarItem item in barManager1.Items) |
| | | if (item is BarLargeButtonItem largeButtonItem) |
| | |
| | | |
| | | |
| | | |
| | | |
| | | /// <summary> |
| | | /// 初始化按钮状态 |
| | | /// </summary> |
| | |
| | | if (btnGxClick != null) |
| | | btnGxClick(this, e); |
| | | } |
| | | |
| | | private void BtnBaoGao_ItemClick(object sender, ItemClickEventArgs e) |
| | | { |
| | | if (btnBaoGaoClick != null) |
| | | btnBaoGaoClick(this, e); |
| | | } |
| | | /// <summary> |
| | | /// 取消时,还原按钮可用性 |
| | | /// </summary> |
| | |
| | | lst.Add(btnShouHouFchk.Name); |
| | | lst.Add(btnGongZi.Name); |
| | | lst.Add(btnLianBan.Name); |
| | | lst.Add(btnEsc.Name); |
| | | // lst.Add(btnEsc.Name); |
| | | lst.Add(btnGx.Name); |
| | | _enabledBtn(lst); |
| | | this.currentAction = "esc"; |
| | |
| | | lst.Add(btnOut.Name); |
| | | lst.Add(btnGongZi.Name); |
| | | lst.Add(btnLianBan.Name); |
| | | lst.Add(btnEsc.Name); |
| | | // lst.Add(btnEsc.Name); |
| | | lst.Add(btnGx.Name); |
| | | _enabledBtn(lst); |
| | | } |
| | |
| | | lst.Add(btnEsc.Name); |
| | | lst.Add(btnHelp.Name); |
| | | lst.Add(btnLayout.Name); |
| | | lst.Add(btnFont.Name); |
| | | lst.Add(btnFont.Name); |
| | | lst.Add(btnLog.Name); |
| | | _enabledBtn(lst); |
| | |
| | | /// </summary> |
| | | public event EventHandler btnGxClick; |
| | | |
| | | /// <summary> |
| | | /// 生成报告 |
| | | /// </summary> |
| | | public event EventHandler btnBaoGaoClick; |
| | | #endregion |
| | | |
| | | #region 公共属性 |