From 64910d0297f94c7a5fb482b5abdffa8d5b266c95 Mon Sep 17 00:00:00 2001
From: lu <123456>
Date: 星期二, 21 十月 2025 16:01:57 +0800
Subject: [PATCH] 打印
---
DevApp/Gs.DevApp/UserControl/UcDictionary.cs | 24 +++++++++++++-----------
1 files changed, 13 insertions(+), 11 deletions(-)
diff --git a/DevApp/Gs.DevApp/UserControl/UcDictionary.cs b/DevApp/Gs.DevApp/UserControl/UcDictionary.cs
index 425fe1e..3c11b78 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);
@@ -61,7 +62,8 @@
foreach (dynamic dym in lst)
{
if (stringBuilder.Length > 0)
- stringBuilder.Append("|");
+ // stringBuilder.Append("|");//|鍜寏宸茶鍗犵敤
+ stringBuilder.Append("&");
stringBuilder.Append(dym.dicTxt);
}
this.TextTxt = stringBuilder.ToString();
--
Gitblit v1.9.3