}//--------------------- //event is raised when the print enrollment quick count is clicked private void _frmStudentSearchOnPrintStudentQuickCountClick() { try { this.Cursor = Cursors.WaitCursor; String sem = String.Empty; sem = this.ctlManager.SemesterComboBox.SelectedIndex != -1 ? " - " + this.ctlManager.SemesterComboBox.Text : String.Empty; _studentManager.PrintEnrolmentQuickCount(this.ctlManager.CourseCheckedListBox, this.ctlManager.YearLevelCheckedListBox, this.ctlManager.SchoolYearComboBox.Text + sem, _frmStudentSearch.pgbPrint, _userInfo); this.Cursor = Cursors.Arrow; _frmStudentSearch.SetProgressBarValue(0); } catch (Exception ex) { RemoteClient.ProcStatic.ShowErrorDialog(ex.Message, "Error in Printing"); } }//------------------------