| | |
| | | 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 |
| | | { |
| | |
| | | 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); |
| | |
| | | foreach (dynamic dym in lst) |
| | | { |
| | | if (stringBuilder.Length > 0) |
| | | stringBuilder.Append("|"); |
| | | // stringBuilder.Append("|");//|和~已被占用 |
| | | stringBuilder.Append("&"); |
| | | stringBuilder.Append(dym.dicTxt); |
| | | } |
| | | this.TextTxt = stringBuilder.ToString(); |