Exemplo n.º 1
0
        // popup report dialog box
        public void PopupReport()
        {
            if (current_section != null)
            {
                string title = string.Format("Final Grade Report Form: {1} {0} - {2}",
                                             current_year,
                                             cSectionList.SeasonList[current_sem],
                                             current_section
                                             );

                ReportForm rf = new ReportForm();
                rf.Text = title;

                // returns an html page containing the final grade report
                cFinalGradeReport fg = new cFinalGradeReport();
                rf.html_data = fg.GenerateReport();

                rf.ShowDialog(main_form);
            }
        }
Exemplo n.º 2
0
        // popup report dialog box
        public void PopupReport()
        {
            if (current_section != null)
            {
                string title = string.Format("Final Grade Report Form: {1} {0} - {2}",
                    current_year,
                    cSectionList.SeasonList[current_sem],
                    current_section
                );

                ReportForm rf = new ReportForm();
                rf.Text = title;

                // returns an html page containing the final grade report
                cFinalGradeReport fg = new cFinalGradeReport();
                rf.html_data = fg.GenerateReport();

                rf.ShowDialog(main_form);
            }
        }