From 26d62be6347add2f1392865d46777d626d1f5c2e Mon Sep 17 00:00:00 2001
From: lu <99954486@qq.com>
Date: 星期一, 30 六月 2025 17:07:50 +0800
Subject: [PATCH] bug
---
DevApp/Gs.DevApp/UserControl/UcDictionary.cs | 38 ++++++++++++++++++++++----------------
1 files changed, 22 insertions(+), 16 deletions(-)
diff --git a/DevApp/Gs.DevApp/UserControl/UcDictionary.cs b/DevApp/Gs.DevApp/UserControl/UcDictionary.cs
index 16095ff..d2c5e04 100644
--- a/DevApp/Gs.DevApp/UserControl/UcDictionary.cs
+++ b/DevApp/Gs.DevApp/UserControl/UcDictionary.cs
@@ -1,14 +1,6 @@
-锘縰sing DevExpress.XtraEditors;
-using Gs.DevApp.DevFrm.Work;
+锘縰sing Gs.DevApp.DevFrm.Work;
using System;
-using System.Collections.Generic;
-using System.ComponentModel;
-using System.Data;
-using System.Drawing;
-using System.Linq;
-using System.Text;
-using System.Threading.Tasks;
-using System.Windows.Forms;
+
namespace Gs.DevApp.UserControl
{
@@ -19,10 +11,8 @@
InitializeComponent();
}
-
-
/// <summary>
- /// 鎬昏褰曟暟
+ /// 鎸夐挳鏂囧瓧
/// </summary>
public string BtnTxt
{
@@ -33,9 +23,8 @@
}
}
-
/// <summary>
- /// 鎬昏褰曟暟
+ /// 鏂囨湰妗嗘枃瀛�
/// </summary>
public string TextTxt
{
@@ -46,9 +35,26 @@
}
}
+ /// <summary>
+ /// 鏌ヨ鏉′欢
+ /// </summary>
+ public string WhereTxt
+ {
+ get;
+ set;
+ }
+ public bool IsReadly
+ {
+ set
+ {
+ this.memoEdit1.ReadOnly = value;
+ this.simpleButton1.Enabled = !value;
+ }
+ }
+
private void simpleButton1_Click(object sender, EventArgs e)
{
- SelectDictionary frm = new SelectDictionary(this.BtnTxt, "");
+ UcDictionarySelect frm = new UcDictionarySelect(this.BtnTxt, this.WhereTxt);
frm.UpdateParent += (ss, ee) =>
{
System.Text.StringBuilder stringBuilder = new System.Text.StringBuilder();
--
Gitblit v1.9.3