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

        //###########################################END BUTTON btnClose EVENTS#####################################################

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

                _cashieringManager.PrintStudentAccountsReceivablePerFiscalYear(_userInfo, _yearId, this.cboYear.Text.Substring(5, this.cboYear.Text.Length - 5), this.progressBar);

                this.progressBar.Value = 0;

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