From 1f45918504bfdafae93b6fc7a5823a48d73e4d3c Mon Sep 17 00:00:00 2001
From: lu <99954486@qq.com>
Date: 星期二, 31 十二月 2024 14:51:58 +0800
Subject: [PATCH] 工单细节
---
DevApp/Gs.DevApp/UserControl/UcToolBarMenu.cs | 32 +++++++++++++++++++++++++-------
1 files changed, 25 insertions(+), 7 deletions(-)
diff --git a/DevApp/Gs.DevApp/UserControl/UcToolBarMenu.cs b/DevApp/Gs.DevApp/UserControl/UcToolBarMenu.cs
index 79fc47c..f0429a8 100644
--- a/DevApp/Gs.DevApp/UserControl/UcToolBarMenu.cs
+++ b/DevApp/Gs.DevApp/UserControl/UcToolBarMenu.cs
@@ -276,7 +276,7 @@
//_ckService(1.ToString());
}
- private async void BtnIn_ItemClick(object sender, ItemClickEventArgs e)
+ private async void BtnIn_ItemClick(object sender, ItemClickEventArgs e)
{
if (string.IsNullOrEmpty(xlsInService))
{
@@ -416,7 +416,7 @@
{
if (btnQueryClick != null) btnQueryClick(this, e);
}
-
+
private void BtnEsc_ItemClick(object sender, ItemClickEventArgs e)
{
if (MsgHelper.AskQuestion("纭畾瑕佽鍙栨秷鍚�?"))
@@ -483,6 +483,15 @@
_enabledBtn(lst);
this.currentAction = "edit";
if (btnEdtClick != null) btnEdtClick(this, e);
+ Form parentForm = this.FindForm();
+ if (parentForm != null)
+ {
+ Control specificControl = parentForm.Controls.Find("picCheckBox", true).FirstOrDefault();
+ if (specificControl != null)
+ {
+ specificControl.Visible = false;
+ }
+ }
}
private void BtnDel_ItemClick(object sender, ItemClickEventArgs e)
@@ -503,6 +512,15 @@
_enabledBtn(lst);
this.currentAction = "add";
if (btnAddClick != null) btnAddClick(this, e);
+ Form parentForm = this.FindForm();
+ if (parentForm != null)
+ {
+ Control specificControl = parentForm.Controls.Find("picCheckBox", true).FirstOrDefault();
+ if (specificControl != null)
+ {
+ specificControl.Visible = false;
+ }
+ }
}
private void BtnRole_ItemClick(object sender, ItemClickEventArgs e)
@@ -519,7 +537,7 @@
if (btnWgClick != null) btnWgClick(this, e);
}
-
+
private void BtnbZhongTai_ItemClick(object sender, ItemClickEventArgs e)
{
@@ -738,7 +756,7 @@
}
return false;
}
-
+
#region 鍏叡浜嬩欢
@@ -873,18 +891,18 @@
/// 閫氱煡澶囨枡
/// </summary>
public event EventHandler btnTzblClick;
-
+
/// <summary>
/// 鐘舵��
/// </summary>
public event EventHandler btnZhongTaiClick;
-
+
/// <summary>
/// 鎵嬪姩瀹屽伐
/// </summary>
public event EventHandler btnWgClick;
-
+
#endregion
#region 鍏叡灞炴��
--
Gitblit v1.9.3