From 4a8df7e654aa502694bcff271b216c46e26c788b Mon Sep 17 00:00:00 2001 From: lu <99954486@qq.com> Date: 星期日, 06 四月 2025 10:46:27 +0800 Subject: [PATCH] 汽泡提示 --- DevApp/Gs.DevApp/UserControl/UcDictionary.cs | 21 +++++++++++---------- 1 files changed, 11 insertions(+), 10 deletions(-) diff --git a/DevApp/Gs.DevApp/UserControl/UcDictionary.cs b/DevApp/Gs.DevApp/UserControl/UcDictionary.cs index 425fe1e..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 { @@ -51,6 +43,15 @@ get; set; } + public bool IsReadly + { + set + { + this.memoEdit1.ReadOnly = value; + this.simpleButton1.Enabled = !value; + } + } + private void simpleButton1_Click(object sender, EventArgs e) { UcDictionarySelect frm = new UcDictionarySelect(this.BtnTxt, this.WhereTxt); -- Gitblit v1.9.3