Esempio n. 1
0
 public void UpdateProgress(ProcessingProgressEventArgs e)
 {
     if (!InvokeRequired)
     {
         ProgressBarLabel.Text       = e.ProcessingTask;
         ProcessingProgressBar.Value = e.PercentComplete;
     }
     else
     {
         Invoke(new Action <ProcessingProgressEventArgs>(UpdateProgress), e);
     }
 }
Esempio n. 2
0
 private void _image_processing_ProcessingProgressChangedEvent(object sender, ProcessingProgressEventArgs e)
 {
     UpdateProgress(e);
 }