diff options
| author | FloppyDiskDrive <[email protected]> | 2017-09-17 21:24:14 -0500 |
|---|---|---|
| committer | FloppyDiskDrive <[email protected]> | 2017-09-17 21:24:14 -0500 |
| commit | 7f5d0c3915d178e4d412a0b1a9b48baf058b2afc (patch) | |
| tree | 6761bc6acfa1a11b2876cc0558cc7220151702da /Histacom2/OS/Win95/Win95.cs | |
| parent | 8a6bebdad321a0f357f5c6cad621b8313b19da03 (diff) | |
| download | histacom2-7f5d0c3915d178e4d412a0b1a9b48baf058b2afc.tar.gz histacom2-7f5d0c3915d178e4d412a0b1a9b48baf058b2afc.tar.bz2 histacom2-7f5d0c3915d178e4d412a0b1a9b48baf058b2afc.zip | |
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.
Diffstat (limited to 'Histacom2/OS/Win95/Win95.cs')
| -rw-r--r-- | Histacom2/OS/Win95/Win95.cs | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/Histacom2/OS/Win95/Win95.cs b/Histacom2/OS/Win95/Win95.cs index eb6b018..926aea0 100644 --- a/Histacom2/OS/Win95/Win95.cs +++ b/Histacom2/OS/Win95/Win95.cs @@ -10,6 +10,9 @@ using Histacom2.Engine.Template.Taskbars; using Histacom2.OS.Win95.Win95Apps; using Histacom2.OS.Win95.Win95Apps.Story; using static Histacom2.Engine.SaveSystem; +using Histacom2.OS.Win95.Win95Apps._12padamViruses; +using Histacom2.OS.Win95.Win95Apps._12padamsViruses; + namespace Histacom2.OS.Win95 { public partial class Windows95 : Form @@ -313,6 +316,7 @@ namespace Histacom2.OS.Win95 { wm.StartInfobox95("Caught it!", "If you were to run this, the game would crash!\nLuckily, it won't crash this time!", InfoboxType.Error, InfoboxButtons.OK); } + else { // It is an actual file on the disk @@ -654,6 +658,32 @@ namespace Histacom2.OS.Win95 gfx.DrawLine(new Pen(_lightBack), 1, startmenu.Height - 3, 1, 1); gfx.DrawLine(new Pen(_lightBack), startmenu.Width - 3, 1, 1, 1); } + + private void ErrorBlasterToolStripMenuItem_Click(object sender, EventArgs e) + { + WinClassic app = wm.Init(new ErrorBlaster95(), "Welcome to Error Blaster 95!", null, false, false, false, false); + AddTaskBarItem(app, app.Tag.ToString(), "Welcome to Error Blaster 95!", null); + + nonimportantapps.Add(app); + nonimportantapps[nonimportantapps.Count - 1].BringToFront(); + nonimportantapps[nonimportantapps.Count - 1].FormClosing += new FormClosingEventHandler(NonImportantApp_Closing); + + app.BringToFront(); + startmenu.Hide(); + } + + private void FilesOrFoldersToolStripMenuItem_Click(object sender, EventArgs e) + { + WinClassic app = wm.Init(new StartRunner95(), "Welcome to Start Runner 95!", null, false, false, false, false); + AddTaskBarItem(app, app.Tag.ToString(), "Welcome to Start Runner 95!", null); + + nonimportantapps.Add(app); + nonimportantapps[nonimportantapps.Count - 1].BringToFront(); + nonimportantapps[nonimportantapps.Count - 1].FormClosing += new FormClosingEventHandler(NonImportantApp_Closing); + + app.BringToFront(); + startmenu.Hide(); + } } } |
