Exemplo n.º 1
0
 private void cdfDownloading_DownloadProgressUpdate(PRoCon.Core.CDownloadFile cdfSender)
 {
     try
     {
         this.lblDownloadStatus.Text = cdfSender.GetLabelProgress();
     }
     catch (InvalidOperationException e)
     {
         // Handle exception
     }
 }
Exemplo n.º 2
0
 private void cdfDownloading_DownloadProgressUpdate(PRoCon.Core.CDownloadFile cdfSender)
 {
     this.lblDownloadStatus.Text = cdfSender.GetLabelProgress();
 }
Exemplo n.º 3
0
 void cdfDownloading_DownloadError(PRoCon.Core.CDownloadFile cdfSender)
 {
     this.lblDownloadStatus.Text = "Error dowloading latest version";
 }
Exemplo n.º 4
0
 private void m_updateDownloader_UpdateDownloading(PRoCon.Core.CDownloadFile cdfDownloading)
 {
     cdfDownloading.DownloadProgressUpdate += new PRoCon.Core.CDownloadFile.DownloadFileEventDelegate(cdfDownloading_DownloadProgressUpdate);
     cdfDownloading.DownloadError          += new PRoCon.Core.CDownloadFile.DownloadFileEventDelegate(cdfDownloading_DownloadError);
 }