예제 #1
0
        }//-------------------------

        //###########################################END RADIOBUTTON rdbAll 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;

                String sem = String.Empty;

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


                _cashieringManager.PrintStudetBalanceProoflist(_userInfo, _dateStart, _dateEnd,
                                                               _dateEnd, this.cboYear.Text + sem, this.rdbAll.Checked, this.progressBar);

                this.progressBar.Value = 0;

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