提交当前本机整理版本
This commit is contained in:
@@ -827,4 +827,34 @@ namespace Lskj.Control
|
||||
/// </summary>
|
||||
/// <param name="sender">The source of the event.</param>
|
||||
/// <param name="e">The <see cref="KeyEvnentArgs"/> instance containing the event data.</param>
|
||||
prot
|
||||
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);
|
||||
if (string.IsNullOrWhiteSpace(this.Text))
|
||||
{
|
||||
this.EditText = this.Text;
|
||||
}
|
||||
}
|
||||
this.ShowPopup();
|
||||
}
|
||||
/// <summary>
|
||||
/// <para>说明:释放时清理数据源</para>
|
||||
/// <para>创建人:龚宇超</para>
|
||||
/// <para>创建日期:2018-03-16 </para>
|
||||
/// <para>修改人:</para>
|
||||
/// <para>修改日期:</para>
|
||||
/// <para>修改备注:</para>
|
||||
/// <para>版本:1.0</para>
|
||||
private void OnDisposed(object sender, EventArgs e)
|
||||
{
|
||||
this._popup?.Dispose();
|
||||
this._popup = null;
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user