}//---------------------

        //############################################END EXAMINATIONSCHEDULESEARCH frmMajorExamSchedule EVENTS##########################################
        #endregion

        #region Programer-Defined Void Procedures
        //this procedure shows the search result
        private void ShowSearchResultDialog()
        {
            try
            {
                this.Cursor = Cursors.WaitCursor;

                _frmMajorExamScheduleSearch.DataSource = _majorExamScheduleManager.GetSearchMajorExamSchedule(_userInfo, _dateStart, _dateEnd,
                                                                                                              _majorExamScheduleManager.GetCourseGroupExamStringFormat(this.ctlManager.CourseGroupCheckedListBox, true),
                                                                                                              _majorExamScheduleManager.GetCourseGroupExamStringFormat(this.ctlManager.ExamCheckedListBox, false));
            }
            catch (Exception ex)
            {
                RemoteClient.ProcStatic.ShowErrorDialog(ex.Message, "Error Retrieving Data");
            }
            finally
            {
                this.ctlManager.SetFocusOnSearchTextBox();

                this.Cursor = Cursors.Arrow;
            }
        }//---------------------------------