protected void PostProgressUpdate(BackgroundTaskProgressArgs args) { if (ProgressUpdate != null) { ProgressUpdate(this, args); } }
protected void ReportProgress(int precentageComplete, BackgroundTaskProgressArgs progressArgs) { worker.ReportProgress(0, progressArgs); }