diff options
| author | lempamo <[email protected]> | 2017-07-26 21:00:41 -0400 |
|---|---|---|
| committer | lempamo <[email protected]> | 2017-07-26 21:00:41 -0400 |
| commit | 27b0ef74642e98bf8c9a83d2700e7ce6643e3114 (patch) | |
| tree | 1cf133193286ccf67fd0339018a8d9ae219e5b11 /TimeHACK.Main/OS/Win95/Win95.cs | |
| parent | e1a0433b6bac1a0db985e40b8e94cd43d0f7302a (diff) | |
| parent | bd7604e6a8c13e9cee05614e64b8eadd68b1c8c9 (diff) | |
| download | histacom2-27b0ef74642e98bf8c9a83d2700e7ce6643e3114.tar.gz histacom2-27b0ef74642e98bf8c9a83d2700e7ce6643e3114.tar.bz2 histacom2-27b0ef74642e98bf8c9a83d2700e7ce6643e3114.zip | |
Merge branch 'master' of https://github.com/TimeHACKDevs/TimeHACK.git
Diffstat (limited to 'TimeHACK.Main/OS/Win95/Win95.cs')
| -rw-r--r-- | TimeHACK.Main/OS/Win95/Win95.cs | 15 |
1 files changed, 14 insertions, 1 deletions
diff --git a/TimeHACK.Main/OS/Win95/Win95.cs b/TimeHACK.Main/OS/Win95/Win95.cs index 3649982..caef618 100644 --- a/TimeHACK.Main/OS/Win95/Win95.cs +++ b/TimeHACK.Main/OS/Win95/Win95.cs @@ -38,7 +38,7 @@ namespace TimeHACK.OS.Win95 AccessoriesToolStripMenuItem.DropDown.Paint += (sender, args) => Engine.Paintbrush.PaintClassicBorders(sender, args, 2); CommunicationsToolStripMenuItem.DropDown.Paint += (sender, args) => Engine.Paintbrush.PaintClassicBorders(sender, args, 2); MultimediaToolStripMenuItem.DropDown.Paint += (sender, args) => Engine.Paintbrush.PaintClassicBorders(sender, args, 2); - SystemToolsToolStripMenuItem.DropDown.Paint += (sender, args) => Engine.Paintbrush.PaintClassicBorders(sender, args, 2); + GamesToolStripMenuItem.DropDown.Paint += (sender, args) => Engine.Paintbrush.PaintClassicBorders(sender, args, 2); StartUpToolStripMenuItem.DropDown.Paint += (sender, args) => Engine.Paintbrush.PaintClassicBorders(sender, args, 2); MSDOSPromptToolStripMenuItem.DropDown.Paint += (sender, args) => Engine.Paintbrush.PaintClassicBorders(sender, args, 2); DocumentsToolStripMenuItem.DropDown.Paint += (sender, args) => Engine.Paintbrush.PaintClassicBorders(sender, args, 2); @@ -571,6 +571,19 @@ namespace TimeHACK.OS.Win95 } } } + + private void MinsweeperToolStripMenuItem_Click(object sender, EventArgs e) + { + WinClassic app = wm.StartWin95(new WinClassicMinesweeper(), "Minesweeper", Properties.Resources.minsweeper_logo, false, false); + AddTaskBarItem(app, app.Tag.ToString(), "Calculator", Properties.Resources.WinClassicCalc); + + nonimportantapps.Add(app); + nonimportantapps[nonimportantapps.Count - 1].BringToFront(); + nonimportantapps[nonimportantapps.Count - 1].FormClosing += new FormClosingEventHandler(NonImportantApp_Closing); + + app.BringToFront(); + startmenu.Hide(); + } } public class MyRenderer : ToolStripProfessionalRenderer { |
