Beispiel #1
0
 protected void OnDownloadProgressChanged(DownloadProgressEventArgs e)
 {
     if (DownloadProgress != null)
     {
         DownloadProgress(this, e);
     }
 }
        void _downloader_DownloadProgress(object sender, DownloadProgressEventArgs e)
        {
            if(ProgressValue == 0 && e.PercentComplete > 0)
                OnDownloadStarted();

            ProgressValue = e.PercentComplete;
            CurrentActionText = e.Message;
        }