From b084bd77d01a94c8f0a2d20c86a1f45ba7c8a23c Mon Sep 17 00:00:00 2001
From: lu <99954486@qq.com>
Date: 星期六, 19 四月 2025 14:08:05 +0800
Subject: [PATCH] 页面跳转

---
 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 8503b12..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)
         {
-            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();

--
Gitblit v1.9.3