diff options
| author | lempamo <[email protected]> | 2017-05-20 09:19:29 -0400 |
|---|---|---|
| committer | GitHub <[email protected]> | 2017-05-20 09:19:29 -0400 |
| commit | 6b6678c7667afd035ed959e2ddd56bc506d878c9 (patch) | |
| tree | c20001bd412885f8c4082bec2634f4e4feb58251 /TimeHACK.Main/OS/Win95/Win95.cs | |
| parent | c4578aa476699552fbb950fd536a757be7086977 (diff) | |
| parent | 516928f112a8b646d81d99693fbbcd4e5c45b6e2 (diff) | |
| download | histacom2-6b6678c7667afd035ed959e2ddd56bc506d878c9.tar.gz histacom2-6b6678c7667afd035ed959e2ddd56bc506d878c9.tar.bz2 histacom2-6b6678c7667afd035ed959e2ddd56bc506d878c9.zip | |
Merge pull request #1 from TimeHACKDevs/master
Merge
Diffstat (limited to 'TimeHACK.Main/OS/Win95/Win95.cs')
| -rw-r--r-- | TimeHACK.Main/OS/Win95/Win95.cs | 14 |
1 files changed, 14 insertions, 0 deletions
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 } } |
