public HttpDownloadTask(DownloadItem downloadItem)
 {
     this.downloadItem = downloadItem;
     backgroundWorker  = new BackgroundFileLoader(Download);
     backgroundWorker.ProgressChanged += new System.ComponentModel.ProgressChangedEventHandler(backgroundWorker_ProgressChanged);
 }
 public HttpDownloadTask(DownloadItem downloadItem)
 {
     this.downloadItem = downloadItem;
     backgroundWorker = new BackgroundFileLoader(Download);
     backgroundWorker.ProgressChanged += new System.ComponentModel.ProgressChangedEventHandler(backgroundWorker_ProgressChanged);
 }
 public bool Load(IDesktopWindow desktopWindow, bool allowCancel, IEnumerable <string> paths, bool recursive)
 {
     return(BackgroundFileLoader.Load(this, desktopWindow, allowCancel, paths, recursive));
 }