From c51f7230320b9d59c7f49aeab1263242855496cc Mon Sep 17 00:00:00 2001 From: FloppyDiskDrive Date: Fri, 1 Sep 2017 21:26:30 -0500 Subject: Cleaned up the Downloader UI a bit more Added the classic progressbar --- Histacom2/GlobalPrograms/WinClassicDownloader.cs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'Histacom2/GlobalPrograms/WinClassicDownloader.cs') diff --git a/Histacom2/GlobalPrograms/WinClassicDownloader.cs b/Histacom2/GlobalPrograms/WinClassicDownloader.cs index ba432d8..b809760 100644 --- a/Histacom2/GlobalPrograms/WinClassicDownloader.cs +++ b/Histacom2/GlobalPrograms/WinClassicDownloader.cs @@ -32,7 +32,7 @@ namespace Histacom2.OS.Win95.Win95Apps amountDLed = amountDLed + 8; if (8 > amountToDL - amountDLed) { - progBar.Value = amountToDL; + progressBar1.Value = amountToDL; amountLbl.Text = $"Downloaded {amountDLed} KB out of {amountToDL}"; switch (appName.Text) @@ -67,8 +67,8 @@ namespace Histacom2.OS.Win95.Win95Apps } else { - progBar.Maximum = amountToDL; - progBar.Value = amountDLed; + progressBar1.Maximum = amountToDL; + progressBar1.Value = amountDLed; } amountLbl.Text = $"Downloaded {amountDLed} KB out of {amountToDL}"; } -- cgit v1.2.3