private void UpdateProgressBar(bool step)
 {
     if (step)
     {
         BenchmarkProgressBar.PerformStep();
     }
     LabelProgressPercentage.Text = ((double)((double)BenchmarkProgressBar.Value / (double)BenchmarkProgressBar.Maximum) * 100).ToString("F2") + "%" +
                                    " : Benchmarking " + CurrentAlgoName + ".. Please wait..";
 }
Beispiel #2
0
 private void UpdateProgressBar(bool step)
 {
     if (step)
     {
         BenchmarkProgressBar.PerformStep();
     }
     LabelProgressPercentage.Text = String.Format(International.GetText("SubmitResultDialog_LabelProgressPercentageInProgress"),
                                                  ((double)((double)BenchmarkProgressBar.Value / (double)BenchmarkProgressBar.Maximum) * 100).ToString("F2"), CurrentAlgoName);
 }