diff options
| author | lempamo <[email protected]> | 2017-08-24 10:53:32 -0400 |
|---|---|---|
| committer | lempamo <[email protected]> | 2017-08-24 10:53:32 -0400 |
| commit | 24ccb6a3350ee9a3ed8abea8e6f3eb6fbf45cf7f (patch) | |
| tree | 79db295b73890523d29518ad1456e3fb3b07d2c2 /Histacom2/OS/Win95/Win95.cs | |
| parent | e88b2da2e398f78cc56728ab7ef53ef590f536dd (diff) | |
| download | histacom2-24ccb6a3350ee9a3ed8abea8e6f3eb6fbf45cf7f.tar.gz histacom2-24ccb6a3350ee9a3ed8abea8e6f3eb6fbf45cf7f.tar.bz2 histacom2-24ccb6a3350ee9a3ed8abea8e6f3eb6fbf45cf7f.zip | |
completed guess the number and other things
Diffstat (limited to 'Histacom2/OS/Win95/Win95.cs')
| -rw-r--r-- | Histacom2/OS/Win95/Win95.cs | 13 |
1 files changed, 13 insertions, 0 deletions
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 { |
