From 24ccb6a3350ee9a3ed8abea8e6f3eb6fbf45cf7f Mon Sep 17 00:00:00 2001 From: lempamo Date: Thu, 24 Aug 2017 10:53:32 -0400 Subject: completed guess the number and other things --- Histacom2/OS/Win95/Win95.cs | 13 +++++++++++++ 1 file changed, 13 insertions(+) (limited to 'Histacom2/OS/Win95/Win95.cs') diff --git a/Histacom2/OS/Win95/Win95.cs b/Histacom2/OS/Win95/Win95.cs index 4708a92..8d2e466 100644 --- a/Histacom2/OS/Win95/Win95.cs +++ b/Histacom2/OS/Win95/Win95.cs @@ -593,6 +593,19 @@ namespace Histacom2.OS.Win95 { heldDownItem = null; } + + private void GuessTheNumberToolStripMenuItem_Click(object sender, EventArgs e) + { + WinClassic app = wm.StartWin95(new GuessTheNumber(), "Guess The Number", Properties.Resources.WinClassicGTNIcon, false, false, false, false); + AddTaskBarItem(app, app.Tag.ToString(), "Guess The Number", Properties.Resources.WinClassicGTNIcon); + + 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 { -- cgit v1.2.3