From 7f5d0c3915d178e4d412a0b1a9b48baf058b2afc Mon Sep 17 00:00:00 2001 From: FloppyDiskDrive Date: Sun, 17 Sep 2017 21:24:14 -0500 Subject: Added Error Blaster 95, see Description for details Error Blaster is updated with a new type: "Memory Leak." After the messageGen timer interval hits 300, the PC BSODs. Start Runner is also in there, however it is not functional due to unknown reasons. --- .../OS/Win95/Win95Apps/Win95WindowsExplorer.cs | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) (limited to 'Histacom2/OS/Win95/Win95Apps/Win95WindowsExplorer.cs') 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 { @@ -350,6 +351,26 @@ namespace Histacom2.OS.Win95.Win95Apps Program.nonimportantapps[Program.nonimportantapps.Count - 1].BringToFront(); 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); -- cgit v1.2.3