aboutsummaryrefslogtreecommitdiff
path: root/TimeHACK.Main/OS/Win95/Win95.cs
diff options
context:
space:
mode:
authorJason <[email protected]>2017-07-22 23:43:39 +0200
committerGitHub <[email protected]>2017-07-22 23:43:39 +0200
commit5afd2ec6c6d7c458c1caffc55566d4365602c122 (patch)
treeb9e2c5f7861799b7b5f209046f97052493565734 /TimeHACK.Main/OS/Win95/Win95.cs
parent7b12feef44adfcafd46d651adcd3e8fe11cb8523 (diff)
parentc97b5bddf841573e92c67fd2d325ca44825351f0 (diff)
downloadhistacom2-5afd2ec6c6d7c458c1caffc55566d4365602c122.tar.gz
histacom2-5afd2ec6c6d7c458c1caffc55566d4365602c122.tar.bz2
histacom2-5afd2ec6c6d7c458c1caffc55566d4365602c122.zip
Merge pull request #133 from Alex-TIMEHACK/master
Done a lot of work on the Windows ExplorerS
Diffstat (limited to 'TimeHACK.Main/OS/Win95/Win95.cs')
-rw-r--r--TimeHACK.Main/OS/Win95/Win95.cs14
1 files changed, 4 insertions, 10 deletions
diff --git a/TimeHACK.Main/OS/Win95/Win95.cs b/TimeHACK.Main/OS/Win95/Win95.cs
index 34500ab..e1de2e3 100644
--- a/TimeHACK.Main/OS/Win95/Win95.cs
+++ b/TimeHACK.Main/OS/Win95/Win95.cs
@@ -121,9 +121,12 @@ namespace TimeHACK.OS.Win95
nonimportantapps[nonimportantapps.Count - 1].BringToFront();
nonimportantapps[nonimportantapps.Count - 1].FormClosing += new FormClosingEventHandler(NonImportantApp_Closing);
+
+
app.BringToFront();
}
+
}
private void fontLoad()
@@ -354,23 +357,14 @@ 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.WinClassicAddressBook, true, true);
- AddTaskBarItem(app, app.Tag.ToString(), "Address Book", Properties.Resources.WinClassicAddressBook);
- nonimportantapps.Add(app);
- nonimportantapps[nonimportantapps.Count - 1].BringToFront();
- nonimportantapps[nonimportantapps.Count - 1].FormClosing += new FormClosingEventHandler(NonImportantApp_Closing);
-
- app.BringToFront();
- startmenu.Hide();
}
private void WindowsExplorerToolStripMenuItem1_Click(object sender, EventArgs e)
{
FileDialogBoxManager.IsInOpenDialog = false;
FileDialogBoxManager.IsInSaveDialog = false;
- WinClassicWindowsExplorer we = new WinClassicWindowsExplorer();
+ Win95WindowsExplorer we = new Win95WindowsExplorer();
WinClassic app = wm.StartWin95(we, "Windows Explorer", Properties.Resources.WinClassicFileExplorer, true, true);
AddTaskBarItem(app, app.Tag.ToString(), "Windows Explorer", Properties.Resources.WinClassicFileExplorer);