コード例 #1
0
 //**************************************************************
 // AppUpdater Constructor
 //**************************************************************
 public AppDownloader(AppUpdater appMan)
 {
     AppMan            = appMan;
     Log               = new UpdateLog();
     UpdateEventArgs   = new UpdateCompleteEventArgs();
     DownloadEventArgs = new DownloadProgressEventArgs();
 }
コード例 #2
0
ファイル: Downloader.cs プロジェクト: JamesTryand/alchemi
 //**************************************************************
 // AppUpdater Constructor
 //**************************************************************
 public AppDownloader(AppUpdater appMan)
 {
     AppMan = appMan;
     Log = new UpdateLog();
     UpdateEventArgs = new UpdateCompleteEventArgs();
     DownloadEventArgs = new DownloadProgressEventArgs();
 }
コード例 #3
0
ファイル: AppUpdater.cs プロジェクト: bluetsys/alchemi
 //*************************************************************
 // Download progress event
 //*************************************************************
 private void Downloader_OnDownloadProgress(object sender, DownloadProgressEventArgs e)
 {
     if (OnDownloadProgress != null)
     {
         foreach (DownloadProgressEventHandler d in OnDownloadProgress.GetInvocationList())
         {
             EventControl.BeginInvoke(d, new object[] { sender, e });
         }
     }
 }
コード例 #4
0
ファイル: AppUpdater.cs プロジェクト: JamesTryand/alchemi
 //*************************************************************
 // Download progress event
 //*************************************************************
 private void Downloader_OnDownloadProgress(object sender, DownloadProgressEventArgs e)
 {
     if (OnDownloadProgress != null)
     {
         foreach ( DownloadProgressEventHandler d in OnDownloadProgress.GetInvocationList())
         {
             EventControl.BeginInvoke(d,new object[] {sender, e});
         }
     }
 }