private void CalculateFoMCompleted(object sender, RunWorkerCompletedEventArgs e) { this.progressBar.Value = 0; this.progressBar.Style = ProgressBarStyle.Blocks; string[] results = STK.CalculateStatistics(root, resultList); this.statusLabel.Text = "Coverage calculated"; root.Rewind(); }
private void runAnalysisCompleted(object sender, RunWorkerCompletedEventArgs e) { this.progressBar.Value = 0; string[] results = STK.CalculateStatistics(root, resultList); this.tbEventLogger.AppendText("Statisitcal summary" + Environment.NewLine); this.tbEventLogger.AppendText("Mean Impact Epoch: " + results[0] + Environment.NewLine); this.tbEventLogger.AppendText("1-Sigma St. Dev. (min): " + results[1] + Environment.NewLine); this.tbEventLogger.AppendText(Environment.NewLine); this.tbEventLogger.ScrollToCaret(); root.Rewind(); this.statusLabel.Text = "Analysis ended"; this.btnGenerateMto.Enabled = true; this.btnCalculateFoM.Enabled = true; }