public void Pause()
 {
     if (DownloadStatus == DownloadStatus.Downloading)
     {
         downloader.Pause();
     }
     else if (DownloadStatus == DownloadStatus.Paused)
     {
         downloader.Resume();
     }
 }
 private void buttonPause_Click(object sender, EventArgs e)
 {
     if (downloader.DownloadStatus == DownloadStatus.Downloading)
     {
         downloader.Pause();
     }
     else if (downloader.DownloadStatus == DownloadStatus.Paused)
     {
         downloader.Resume();
     }
     RefreshStatus();
 }