} //------------------------------------- //event is raised when the button is clicked private void ctlManagerOnRefresh() { try { this.Cursor = Cursors.WaitCursor; _decManager.RefreshDeductionData(_userInfo); } catch (Exception ex) { RemoteClient.ProcStatic.ShowErrorDialog(ex.Message, "Error Refreshing Deduction Manager"); } finally { this.Cursor = Cursors.Arrow; } } //-------------------------------------
} //--------------------------------- //event is raised when the refresh button is clicked private void ctlManagerOnRefresh() { try { this.Cursor = Cursors.WaitCursor; _decManager.RefreshDeductionData(_userInfo); lblRecordDate.Text = "Record Date: " + DateTime.Parse(_decManager.ServerDateTime).ToString(); } catch (Exception ex) { RemoteClient.ProcStatic.ShowErrorDialog(ex.Message, "Error Refreshing Deduction Manager"); } finally { this.ctlManager.SetFocusOnSearchTextBox(); this.Cursor = Cursors.Arrow; } } //----------------------------