void webClient_DownloadProgressChanged(object sender, System.Net.DownloadProgressChangedEventArgs e) { if (mMonitor != null) { mMonitor.SetProgress(e.ProgressPercentage); if (mMonitor.Canceled) { mWebClient.CancelAsync(); } } }
void webClient_DownloadProgressChanged(object sender, System.Net.DownloadProgressChangedEventArgs e) { if (mMonitor != null) { mMonitor.SetProgress(e.ProgressPercentage); if (mMonitor.Canceled) { mWebClient.CancelAsync(); } } }