コード例 #1
0
        }//--------------------

        //event is raised when the button is click
        private void ctlManagerOnRefresh()
        {
            try
            {
                this.Cursor = Cursors.WaitCursor;

                _majorExamScheduleManager.RefreshStudentData(_userInfo);

                lblRecordDate.Text = "Record Date: " + DateTime.Parse(_majorExamScheduleManager.ServerDateTime).ToString();

                this.ShowSearchResultDialog();
            }
            catch (Exception ex)
            {
                RemoteClient.ProcStatic.ShowErrorDialog(ex.Message, "Error Refreshing Major Exam Schedule Data Manager");
            }
            finally
            {
                this.Cursor = Cursors.Arrow;
            }
        }//--------------------