void Download_DownloadUpdate(object sender, FileDownloadingEventArgs e) { pgbDownloadProgress.Value = e.Percent; //UpdateStatus("Downloading: " + PMU.Core.IO.Files.GetFileSize(e.Position) + "/" + PMU.Core.IO.Files.GetFileSize(e.FileSize) + " (" + e.Percent + "%)"); }
void Download_DownloadComplete(object sender, FileDownloadingEventArgs e) { pgbDownloadProgress.Hide(); lblStatus.Show(); UpdateStatus("Installing..."); }