Пример #1
0
        private void InvokeMethodProgress(MethodProgressEventArgs args)
        {
            MethodProgressEvent progress = MethodProgress;

            if (progress != null)
            {
                progress(this, args);
            }
        }
Пример #2
0
 public void OnMethodProgress(object sender, MethodProgressEventArgs args)
 {
     if (this.InvokeRequired)
     {
         this.Invoke((foo2)OnMethodProgress, new[] { sender, args });
         return;
     }
     this.progressBar1.PerformStep();
 }
 private void InvokeMethodProgress(MethodProgressEventArgs args)
 {
     MethodProgressEvent progress = MethodProgress;
     if (progress != null) progress(this, args);
 }