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