private void StartDownloads() { try { StopService(); } catch { Error(); return; } finally { _updater.Stop(); } // Initialise our downloader with the updated file collection. _downloader = new UpdateDownloader(_updater.Files); // Set up the downloader events. _downloader.ProgressUpdated += Downloader_ProgressUpdated; _downloader.Complete += Downloader_Complete; _downloader.Error += Downloader_Error; // Begin downloading. _label.Text = string.Format("Downloading {0}...", _downloader.CurrentFile.Key); _downloader.Start(); }