}//------------------------ //####################################END CLASS ChartOfAccountSearchedOnTextBoxList EVENTS#################################### //##################################TEXTBOX txtSearch EVENTS########################################################## //event is raised when the key is up protected override void txtSearchKeyUp(object sender, KeyEventArgs e) { this.Cursor = Cursors.WaitCursor; if (e.KeyCode == Keys.Enter) { try { this.Cursor = Cursors.WaitCursor; this.SetDataGridViewSource(_cashieringManager.GetSearchedChartOfAccount(_userInfo, ((TextBox)sender).Text, String.Empty, String.Empty, true)); } catch (Exception ex) { RemoteClient.ProcStatic.ShowErrorDialog(ex.Message, "Error Retrieving Chart of Accounts Infomation List"); } finally { this.Cursor = Cursors.Arrow; } } base.txtSearchKeyUp(sender, e); this.Cursor = Cursors.Arrow; }//-----------------------------------