From 4c939a9eab6078c124d0a71d779c0dae8902dad7 Mon Sep 17 00:00:00 2001 From: tdx Date: Thu, 6 Feb 2025 10:25:34 +0000 Subject: [PATCH] SVN r246 SVN-Revision: r246 --- .../AutoTreeLookUp/AutoTreeLookUp.cs | 34 +------------------ .../Lskj.Control/LabelMultiAutoTextEdit2.cs | 2 +- 2 files changed, 2 insertions(+), 34 deletions(-) diff --git a/插件库/Lskj.Control/AutoTreeLookUp/AutoTreeLookUp.cs b/插件库/Lskj.Control/AutoTreeLookUp/AutoTreeLookUp.cs index 6a76a7a..f4df6d3 100644 --- a/插件库/Lskj.Control/AutoTreeLookUp/AutoTreeLookUp.cs +++ b/插件库/Lskj.Control/AutoTreeLookUp/AutoTreeLookUp.cs @@ -753,36 +753,4 @@ namespace Lskj.Control /// The instance containing the event data. protected void OnAutoGridLookUpKeyUp(object sender, KeyEventArgs e) { - if (e.KeyCode == Keys.Enter) - { - this._popup.Focus(); - } - else - { - this.RefreshPopupDataSource(this.Text.Contains(",") ? string.Empty : this.Text); - } - this.ShowPopup(); - } - /// - /// 说明:释放时清理数据源 - /// 创建人:龚宇超 - /// 创建日期:2018-03-16 - /// 修改人: - /// 修改日期: - /// 修改备注: - /// 版本:1.0 - private void OnAutoTreeLookUp_Disposed(object sender, EventArgs e) - { - if (this.DataSourceTable != null) - { - this.DataSourceTable.Clear(); - this.DataSourceTable.Dispose(); - } - if (this.DataSource != null) - { - this.DataSource = null; - } - GC.Collect(); - } - } -} \ No newline at end of file + if (e.KeyCode == Keys.Ent \ No newline at end of file diff --git a/插件库/Lskj.Control/LabelMultiAutoTextEdit2.cs b/插件库/Lskj.Control/LabelMultiAutoTextEdit2.cs index 1c85d94..ffb84f0 100644 --- a/插件库/Lskj.Control/LabelMultiAutoTextEdit2.cs +++ b/插件库/Lskj.Control/LabelMultiAutoTextEdit2.cs @@ -331,4 +331,4 @@ namespace Lskj.Control _lookUpForm.SourceSQL = sqlValue; //_lookUpForm.DataSource = MainImpl.GetDataTableResult(sqlValue); } - _lo \ No newline at end of file + _l \ No newline at end of file