aboutsummaryrefslogtreecommitdiff
path: root/Histacom2/GlobalPrograms/WinClassicDownloader.cs
diff options
context:
space:
mode:
authorlempamo <[email protected]>2017-08-24 10:53:32 -0400
committerlempamo <[email protected]>2017-08-24 10:53:32 -0400
commit24ccb6a3350ee9a3ed8abea8e6f3eb6fbf45cf7f (patch)
tree79db295b73890523d29518ad1456e3fb3b07d2c2 /Histacom2/GlobalPrograms/WinClassicDownloader.cs
parente88b2da2e398f78cc56728ab7ef53ef590f536dd (diff)
downloadhistacom2-24ccb6a3350ee9a3ed8abea8e6f3eb6fbf45cf7f.tar.gz
histacom2-24ccb6a3350ee9a3ed8abea8e6f3eb6fbf45cf7f.tar.bz2
histacom2-24ccb6a3350ee9a3ed8abea8e6f3eb6fbf45cf7f.zip
completed guess the number and other things
Diffstat (limited to 'Histacom2/GlobalPrograms/WinClassicDownloader.cs')
-rw-r--r--Histacom2/GlobalPrograms/WinClassicDownloader.cs19
1 files changed, 7 insertions, 12 deletions
diff --git a/Histacom2/GlobalPrograms/WinClassicDownloader.cs b/Histacom2/GlobalPrograms/WinClassicDownloader.cs
index f454bdb..ba432d8 100644
--- a/Histacom2/GlobalPrograms/WinClassicDownloader.cs
+++ b/Histacom2/GlobalPrograms/WinClassicDownloader.cs
@@ -18,7 +18,7 @@ namespace Histacom2.OS.Win95.Win95Apps
return rnd.Next(7, 9).ToString() + "." + rnd.Next(7, 9).ToString() + rnd.Next(7, 9).ToString();
}
- int amountToDL = 100;
+ public int amountToDL = 100;
int amountDLed = 0;
private void WinClassicDownloader_Load(object sender, EventArgs e)
@@ -32,7 +32,7 @@ namespace Histacom2.OS.Win95.Win95Apps
amountDLed = amountDLed + 8;
if (8 > amountToDL - amountDLed)
{
- progBar.Value = 100;
+ progBar.Value = amountToDL;
amountLbl.Text = $"Downloaded {amountDLed} KB out of {amountToDL}";
switch (appName.Text)
@@ -44,14 +44,13 @@ namespace Histacom2.OS.Win95.Win95Apps
CreateWindowsFile(Path.Combine(ProfileWindowsDirectory, "Desktop"), "Web Chat Setup.exe", "web chat setup", 11, 34846);
break;
case "Downloading: Time Distorter 0.1":
- CreateWindowsFile(Path.Combine(ProfileWindowsDirectory, "Desktop"), "Time Distorter Setup.exe", "time distorter setup", 11, 11583);
+ CreateWindowsFile(Path.Combine(ProfileWindowsDirectory, "Desktop"), "Time Distorter Setup.exe", "time distorter setup", 11, 21583);
+ break;
+ case "Downloading: Guess The Number V1":
+ CreateWindowsFile(Path.Combine(ProfileWindowsDirectory, "Desktop"), "Guess The Number V1 Setup.exe", "gtnv1 setup", 11, 16483);
break;
}
- /* if (appName.Text == "Downloading: Guess The Number")
- {
- CreateWindowsFile(Path.Combine(ProfileWindowsDirectory, "Desktop", "Guess The Number Setup.exe"), "GuessTheNumber");
- }
- if (appName.Text == "Downloading: Start Runner")
+ /* if (appName.Text == "Downloading: Start Runner")
{
CreateWindowsFile(Path.Combine(ProfileWindowsDirectory, "Desktop", "Start Runner Setup.exe"), "StartRunner");
}
@@ -62,10 +61,6 @@ namespace Histacom2.OS.Win95.Win95Apps
if (appName.Text == "Downloading: Skindows 95")
{
CreateWindowsFile(Path.Combine(ProfileWindowsDirectory, "Desktop", "Skindows 95 Setup.exe"), "Skindows95Setup");
- }
- if (appName.Text == "Downloading: Time Distorter")
- {
- CreateWindowsFile(Path.Combine(ProfileWindowsDirectory, "Desktop", "Time Distorter Setup.exe"), "time distorter setup");
} */
((Form)this.TopLevelControl).Close();
dlTimer.Stop();