diff options
| author | Alex-TIMEHACK <[email protected]> | 2017-05-20 09:46:20 +0100 |
|---|---|---|
| committer | GitHub <[email protected]> | 2017-05-20 09:46:20 +0100 |
| commit | b9857d7aa6ed8d9b04e43e1ccf1342a62ca25a52 (patch) | |
| tree | bbae7eed32ad4c2d1bbbd05ed127611d27dc0fb5 /TimeHACK.Main/OS/Win95/Win95.cs | |
| parent | d9fa6d11aa4889ba4538b00ef56d03da78664025 (diff) | |
| parent | ca9d46fea66dd3a0878fb11469156ab1c57c0fb0 (diff) | |
| download | histacom2-b9857d7aa6ed8d9b04e43e1ccf1342a62ca25a52.tar.gz histacom2-b9857d7aa6ed8d9b04e43e1ccf1342a62ca25a52.tar.bz2 histacom2-b9857d7aa6ed8d9b04e43e1ccf1342a62ca25a52.zip | |
Merge pull request #72 from Alex-TIMEHACK/master
Added my Address Book!
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 } } |
