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

        //###########################################END LINKLABEL lnkCourseGroupAll EVENTS#####################################################

        //###########################################BUTTON btnGenerateReport EVENTS#####################################################
        //event is raised when the control is clicked
        private void btnGenerateReportClick(object sender, EventArgs e)
        {
            try
            {
                this.Cursor = Cursors.WaitCursor;

                String sem = String.Empty;

                sem = this.cboSemester.SelectedIndex != -1 ? " - " + this.cboSemester.Text : String.Empty;

                _cashieringManager.PrintFeeRegisterSummarized(_userInfo, _dateStart, _dateEnd, this.cboYear.Text + sem,
                                                              _isSemestral, this.cbxCourseGroup, this.progressBar);

                this.progressBar.Value = 0;

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