lu
2025-04-06 4a8df7e654aa502694bcff271b216c46e26c788b
DevApp/Gs.DevApp/UserControl/UcDictionary.cs
@@ -1,14 +1,6 @@
using DevExpress.XtraEditors;
using Gs.DevApp.DevFrm.Work;
using 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)
        {
            UcDictionarySelect frm = new UcDictionarySelect(this.BtnTxt, "");
            UcDictionarySelect frm = new UcDictionarySelect(this.BtnTxt, this.WhereTxt);
            frm.UpdateParent += (ss, ee) =>
            {
                System.Text.StringBuilder stringBuilder = new System.Text.StringBuilder();