From 8ca897a6dba811d642065db2c8eb1f00ac6e561c Mon Sep 17 00:00:00 2001
From: lu <123456>
Date: 星期一, 20 十月 2025 13:58:24 +0800
Subject: [PATCH] caa解锁
---
DevApp/Gs.DevApp/UserControl/UcToolBarMenu.cs | 18 +++++++++++++-----
1 files changed, 13 insertions(+), 5 deletions(-)
diff --git a/DevApp/Gs.DevApp/UserControl/UcToolBarMenu.cs b/DevApp/Gs.DevApp/UserControl/UcToolBarMenu.cs
index 8a055ea..1a3fad1 100644
--- a/DevApp/Gs.DevApp/UserControl/UcToolBarMenu.cs
+++ b/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>
@@ -653,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)
@@ -1051,6 +1054,11 @@
/// </summary>
public event EventHandler btnFPingZhiClick;
+ /// <summary>
+ /// 鐢ㄦ枡娓呭崟瑙i攣
+ /// </summary>
+ public event EventHandler btnLockClick;
+
#endregion
#region 鍏叡灞炴��
--
Gitblit v1.9.3