Ejemplo n.º 1
0
        }//---------------------------------

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

                String sem = this.ctlManager.SemesterIndex != -1 ? " - " + this.ctlManager.SemesterComboBox.Text : String.Empty;

                _scheduleManager.PrintScheduleDetailsList(_userInfo, this.ctlManager.SchoolYearComboBox.Text + sem);

                this.Cursor = Cursors.Arrow;
            }
            catch (Exception ex)
            {
                RemoteClient.ProcStatic.ShowErrorDialog(ex.Message, "Error Printing");
            }
        }