Example #1
0
 void task_Progress(object sender, AsyncTaskProgressEventArgs e)
 {
     if (TaskProgress != null)
     {
         TaskProgress(this, new AsyncTaskEventArgs <AsyncTaskProgressEventArgs>((AsyncTask)sender, e));
     }
 }
Example #2
0
 protected virtual void OnProgress(AsyncTaskProgressEventArgs e)
 {
     if (Progress != null)
     {
         Progress(this, e);
     }
 }
Example #3
0
 protected virtual void OnProgress(AsyncTaskProgressEventArgs e)
 {
     if (Progress != null)
         Progress(this, e);
 }