private void downloader_DownloadProgressChanged(object sender, DownloadProgressEventArgs e) { Invoke(new ParamMethodInvoker(UpdateProgress), new object[] { e.BytesRead, e.TotalBytes, e.Message }); }
/// <summary> /// Fires the DownloadProgressChanged event /// </summary> /// <param name="e"></param> protected virtual void OnProgressChanged(DownloadProgressEventArgs e) { if (DownloadProgressChanged != null) DownloadProgressChanged(this, e); }