diff options
| author | lempamo <[email protected]> | 2017-09-18 16:49:14 -0500 |
|---|---|---|
| committer | GitHub <[email protected]> | 2017-09-18 16:49:14 -0500 |
| commit | 2d83155d9833a7ea1396ee62265f900be258a5eb (patch) | |
| tree | 28c7cfc42927d9c340a5f17048a024227358fc5f /Histacom2/OS/Win95/Win95.cs | |
| parent | 92495924b688faf93d37929a8dab27554ac78e4f (diff) | |
| parent | 3188a4eac09bbcfb1dffaa2e001f1f76137ed1ac (diff) | |
| download | histacom2-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/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(); + } } } |
