Exemplo n.º 1
0
 /// <summary>
 /// Uses the Report Launcher to create the scoreboard, and launches it in a browser for the user.
 /// </summary>
 void generateReport()
 {
     ReportLauncher.GenerateMPAiSpeakScoreHTML(UserManagement.CurrentUser.SpeakScoreboard);
     if (File.Exists(ReportLauncher.MPAiSpeakScoreReportHTMLAddress))
     {
         ReportLauncher.ShowMPAiSpeakScoreReport();
     }
 }
Exemplo n.º 2
0
 /// <summary>
 /// Launches the score report in the user's default browser.
 /// </summary>
 /// <param name="sender">Automatically generated by Visual Studio.</param>
 /// <param name="e">Automatically generated by Visual Studio.</param>
 private void reportButton_Click(object sender, EventArgs e)
 {
     ReportLauncher.GenerateMPAiSpeakScoreHTML(UserManagement.CurrentUser.SpeakScoreboard);
     if (File.Exists(ReportLauncher.MPAiSpeakScoreReportHTMLAddress))
     {
         ReportLauncher.ShowMPAiSpeakScoreReport();
     }
 }