From b3d60f914a4619f637e1ee6aa3f80ab0cc7f4b51 Mon Sep 17 00:00:00 2001 From: Alex-TIMEHACK Date: Sat, 6 May 2017 17:56:00 +0100 Subject: Added an Address Book! PLZ ACCEPT --- TimeHACK.Main/OS/Win95/Win95.cs | 14 ++++++++++++++ 1 file changed, 14 insertions(+) (limited to 'TimeHACK.Main/OS/Win95/Win95.cs') diff --git a/TimeHACK.Main/OS/Win95/Win95.cs b/TimeHACK.Main/OS/Win95/Win95.cs index da8a550..eeaa9f2 100644 --- a/TimeHACK.Main/OS/Win95/Win95.cs +++ b/TimeHACK.Main/OS/Win95/Win95.cs @@ -310,6 +310,20 @@ namespace TimeHACK.OS.Win95 } } + private void AddressBookToolStripMenuItem_Click(object sender, EventArgs e) + { + WinClassicAddressBook ab = new WinClassicAddressBook(); + WinClassic app = wm.startWin95(ab, "Address Book", Properties.Resources.Win95IconWordpad, true, true); + AddTaskBarItem(app, app.Tag.ToString(), "Address Book", Properties.Resources.Win95IconWordpad); + + nonimportantapps.Add(app); + nonimportantapps[nonimportantapps.Count - 1].BringToFront(); + nonimportantapps[nonimportantapps.Count - 1].FormClosing += new FormClosingEventHandler(NonImportantApp_Closing); + + app.BringToFront(); + startmenu.Hide(); + } + //TODO: Add Outlook Express 4 } } -- cgit v1.2.3