Exemple #1
0
 public void updateProgress()
 {
     this.Invoke(new ThreadStart(delegate
     {
         if (converter.getProgress() > 100)
         {
             converterProgressBar.Value = 100;
             progressPercentLabel.Text  = "100%";
         }
         else
         {
             converterProgressBar.Value = (int)converter.getProgress();
             progressPercentLabel.Text  = (int)converter.getProgress() + "%";
         }
     }));
 }