private void downloader_DownloadError(object sender, DownloadErrorEventArgs e) { MessageBox.Show(string.Format("{0}{1}{2}", e.Message, Environment.NewLine, e.Exception)); }
/// <summary> /// Fires DownloadError event /// </summary> /// <param name="e"></param> protected virtual void OnDownloadError(DownloadErrorEventArgs e) { if (DownloadError != null) DownloadError(this, e); }