aboutsummaryrefslogtreecommitdiff
path: root/Histacom2/GlobalPrograms/WinClassicDownloader.cs
diff options
context:
space:
mode:
authorAlex-TIMEHACK <[email protected]>2017-09-23 17:25:22 +0100
committerAlex-TIMEHACK <[email protected]>2017-09-23 17:25:22 +0100
commit350e749bb9eab16efe753f9b8fd703b52a97f808 (patch)
tree9c90ec1a8148d66d9ff8605710a992e5e14a6b7e /Histacom2/GlobalPrograms/WinClassicDownloader.cs
parent84ef033af262343febc3f84471233e18bc6b502e (diff)
parent1ee3e00f8f0ee879fce4edf7d1ba9889335bc826 (diff)
downloadhistacom2-350e749bb9eab16efe753f9b8fd703b52a97f808.tar.gz
histacom2-350e749bb9eab16efe753f9b8fd703b52a97f808.tar.bz2
histacom2-350e749bb9eab16efe753f9b8fd703b52a97f808.zip
Merge branch 'master' of https://github.com/Histacom2-Devs/Histacom2
Diffstat (limited to 'Histacom2/GlobalPrograms/WinClassicDownloader.cs')
-rw-r--r--Histacom2/GlobalPrograms/WinClassicDownloader.cs27
1 files changed, 14 insertions, 13 deletions
diff --git a/Histacom2/GlobalPrograms/WinClassicDownloader.cs b/Histacom2/GlobalPrograms/WinClassicDownloader.cs
index ba432d8..eaf253a 100644
--- a/Histacom2/GlobalPrograms/WinClassicDownloader.cs
+++ b/Histacom2/GlobalPrograms/WinClassicDownloader.cs
@@ -3,7 +3,7 @@ using System.IO;
using System.Windows.Forms;
using static Histacom2.Engine.SaveSystem;
-namespace Histacom2.OS.Win95.Win95Apps
+namespace Histacom2.GlobalPrograms
{
public partial class WinClassicDownloader : UserControl
{
@@ -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)
@@ -49,16 +49,17 @@ namespace Histacom2.OS.Win95.Win95Apps
case "Downloading: Guess The Number V1":
CreateWindowsFile(Path.Combine(ProfileWindowsDirectory, "Desktop"), "Guess The Number V1 Setup.exe", "gtnv1 setup", 11, 16483);
break;
+ case "Downloading: Error Blaster 95":
+ CreateWindowsFile(Path.Combine(ProfileWindowsDirectory, "Desktop"), "Error Blaster 95 Setup.exe", "eb95 setup", 11, 34846);
+ break;
+ case "Downloading: Start Runner 95":
+ CreateWindowsFile(Path.Combine(ProfileWindowsDirectory, "Desktop"), "Start Runner Setup.exe", "sr95 setup", 11, 34846);
+ break;
+ case "Downloading: Web Chat 1999":
+ CreateWindowsFile(Path.Combine(ProfileWindowsDirectory, "Desktop"), "Web Chat Setup.exe", "web chat 99 setup", 11, 37048);
+ break;
}
- /* if (appName.Text == "Downloading: Start Runner")
- {
- CreateWindowsFile(Path.Combine(ProfileWindowsDirectory, "Desktop", "Start Runner Setup.exe"), "StartRunner");
- }
- if (appName.Text == "Downloading: Error Blaster")
- {
- CreateWindowsFile(Path.Combine(ProfileWindowsDirectory, "Desktop", "Error Blaster Setup.exe"), "ErrorBlaster");
- }
- if (appName.Text == "Downloading: Skindows 95")
+ /* if (appName.Text == "Downloading: Skindows 95")
{
CreateWindowsFile(Path.Combine(ProfileWindowsDirectory, "Desktop", "Skindows 95 Setup.exe"), "Skindows95Setup");
} */
@@ -67,8 +68,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}";
}