aboutsummaryrefslogtreecommitdiff
path: root/Histacom2/OS/Win95/Win95Apps/Win95WindowsExplorer.cs
diff options
context:
space:
mode:
authorlempamo <[email protected]>2017-09-18 16:49:14 -0500
committerGitHub <[email protected]>2017-09-18 16:49:14 -0500
commit2d83155d9833a7ea1396ee62265f900be258a5eb (patch)
tree28c7cfc42927d9c340a5f17048a024227358fc5f /Histacom2/OS/Win95/Win95Apps/Win95WindowsExplorer.cs
parent92495924b688faf93d37929a8dab27554ac78e4f (diff)
parent3188a4eac09bbcfb1dffaa2e001f1f76137ed1ac (diff)
downloadhistacom2-2d83155d9833a7ea1396ee62265f900be258a5eb.tar.gz
histacom2-2d83155d9833a7ea1396ee62265f900be258a5eb.tar.bz2
histacom2-2d83155d9833a7ea1396ee62265f900be258a5eb.zip
Merge pull request #161 from IBMPCDOS5/master
Added Error Blaster 95, see Description for details
Diffstat (limited to 'Histacom2/OS/Win95/Win95Apps/Win95WindowsExplorer.cs')
-rw-r--r--Histacom2/OS/Win95/Win95Apps/Win95WindowsExplorer.cs21
1 files changed, 21 insertions, 0 deletions
diff --git a/Histacom2/OS/Win95/Win95Apps/Win95WindowsExplorer.cs b/Histacom2/OS/Win95/Win95Apps/Win95WindowsExplorer.cs
index 9c7e2a3..519e14d 100644
--- a/Histacom2/OS/Win95/Win95Apps/Win95WindowsExplorer.cs
+++ b/Histacom2/OS/Win95/Win95Apps/Win95WindowsExplorer.cs
@@ -13,6 +13,7 @@ using Histacom2.Engine;
using Newtonsoft.Json;
using Histacom2.Engine.Template;
using System.Diagnostics;
+using Histacom2.OS.Win95.Win95Apps._12padamViruses;
namespace Histacom2.OS.Win95.Win95Apps
{
@@ -351,6 +352,26 @@ namespace Histacom2.OS.Win95.Win95Apps
Program.nonimportantapps[Program.nonimportantapps.Count - 1].FormClosing += new FormClosingEventHandler(Program.NonImportantApp_Closing);
break;
+ case "eb95 setup":
+ Win95Installer ebInstall = new Win95Installer("Error Blaster 95");
+ ebInstall.InstallCompleted += (sender, args) => TitleScreen.frm95.ErrorBlasterToolStripMenuItem.Visible = true;
+ WinClassic installer = wm.Init(ebInstall, "Error Blaster 95 Setup", null, true, true);
+ Program.AddTaskbarItem(installer, installer.Tag.ToString(), "Error Blaster 95 Setup", null);
+ installer.BringToFront();
+ break;
+ case "error blaster":
+ WinClassic eb = wm.Init(new ErrorBlaster95(), "Welcome to Error Blaster 95!", null, true, true);
+ Program.AddTaskbarItem(eb, eb.Tag.ToString(), "Welcome to Error Blaster 95!", null);
+ Program.nonimportantapps[Program.nonimportantapps.Count - 1].BringToFront();
+ Program.nonimportantapps[Program.nonimportantapps.Count - 1].FormClosing += new FormClosingEventHandler(Program.NonImportantApp_Closing);
+ break;
+ case "sr95 setup":
+ Win95Installer srInstall = new Win95Installer("Start Runner 95");
+ srInstall.InstallCompleted += (sender, args) => TitleScreen.frm95.ErrorBlasterToolStripMenuItem.Visible = true;
+ WinClassic install = wm.Init(srInstall, "Start Runner 95 Setup", null, true, true);
+ Program.AddTaskbarItem(install, install.Tag.ToString(), "Error Blaster 95 Setup", null);
+ install.BringToFront();
+ break;
default:
wm.StartInfobox95(path.Replace(ProfileMyComputerDirectory, "C:"), $"{path.Replace(ProfileMyComputerDirectory, "C:")} is not a valid Win32 application.", InfoboxType.Error, InfoboxButtons.OK);
break;