aboutsummaryrefslogtreecommitdiff
path: root/TimeHACK.Main/OS/Win95/Win95.cs
diff options
context:
space:
mode:
authorJayXKanz666 <[email protected]>2017-07-12 20:16:30 +0200
committerJayXKanz666 <[email protected]>2017-07-12 20:16:30 +0200
commit07ad23b7c9ed7a4a1742df68a73cc2d4b3180cde (patch)
treecd279f9f6721f8ea8ac5de9ad3bf268ca1610886 /TimeHACK.Main/OS/Win95/Win95.cs
parent0f3b4f7a93bb03aed236e41f011c6de9830c2fed (diff)
parent0cd362ae501972f8745acaf285ab8a337ec6ffe4 (diff)
downloadhistacom2-07ad23b7c9ed7a4a1742df68a73cc2d4b3180cde.tar.gz
histacom2-07ad23b7c9ed7a4a1742df68a73cc2d4b3180cde.tar.bz2
histacom2-07ad23b7c9ed7a4a1742df68a73cc2d4b3180cde.zip
Merge remote-tracking branch 'refs/remotes/TimeHACKDevs/master'
Diffstat (limited to 'TimeHACK.Main/OS/Win95/Win95.cs')
-rw-r--r--TimeHACK.Main/OS/Win95/Win95.cs13
1 files changed, 13 insertions, 0 deletions
diff --git a/TimeHACK.Main/OS/Win95/Win95.cs b/TimeHACK.Main/OS/Win95/Win95.cs
index e08d436..7efe5e9 100644
--- a/TimeHACK.Main/OS/Win95/Win95.cs
+++ b/TimeHACK.Main/OS/Win95/Win95.cs
@@ -450,6 +450,19 @@ namespace TimeHACK.OS.Win95
app.BringToFront();
startmenu.Hide();
}
+
+ private void CalculatorToolStripMenuItem_Click(object sender, EventArgs e)
+ {
+ WinClassic app = wm.StartWin95(new WinClassicCalculator(), "Calculator", Properties.Resources.WinClassicCalc, 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
{