aboutsummaryrefslogtreecommitdiff
path: root/TimeHACK.Main/OS/Win95/Win95.cs
diff options
context:
space:
mode:
authorAlex-TIMEHACK <[email protected]>2017-05-01 11:25:23 +0100
committerAlex-TIMEHACK <[email protected]>2017-05-01 11:25:23 +0100
commit234eacb36db0413b886c65c9dbd701d78836ee10 (patch)
tree9b40038952625a63c010b8bce7b2bf6a620209e4 /TimeHACK.Main/OS/Win95/Win95.cs
parent0a7c2d4dc020b58dacf1d0cf50403d101f176d72 (diff)
downloadhistacom2-234eacb36db0413b886c65c9dbd701d78836ee10.tar.gz
histacom2-234eacb36db0413b886c65c9dbd701d78836ee10.tar.bz2
histacom2-234eacb36db0413b886c65c9dbd701d78836ee10.zip
Small adjustments
Diffstat (limited to 'TimeHACK.Main/OS/Win95/Win95.cs')
-rw-r--r--TimeHACK.Main/OS/Win95/Win95.cs11
1 files changed, 9 insertions, 2 deletions
diff --git a/TimeHACK.Main/OS/Win95/Win95.cs b/TimeHACK.Main/OS/Win95/Win95.cs
index 1e68101..2cb9880 100644
--- a/TimeHACK.Main/OS/Win95/Win95.cs
+++ b/TimeHACK.Main/OS/Win95/Win95.cs
@@ -62,9 +62,11 @@ namespace TimeHACK.OS.Win95
//nonimportantapps.Capacity = 100;
this.SendToBack();
- // THIS IS TESTING STUFF HERE:
- taskbarItems = tb.AddTaskbarItem95("0", "Test app", Properties.Resources.Win95IconWordpad, (UserControl)new Win95TaskBarItem(), taskbarItems);
+ // Update the taskbar
UpdateTaskbar();
+
+ // Bring to this the front
+ this.BringToFront();
}
private void fontLoad()
@@ -273,6 +275,11 @@ namespace TimeHACK.OS.Win95
WinClassicWordPad wp = new WinClassicWordPad();
WinClassic app = wm.startWin95(wp, "Wordpad", Properties.Resources.Win95IconWordpad, true, true);
AddTaskBarItem(app, app.Tag.ToString(), "Wordpad", Properties.Resources.Win95IconWordpad);
+
+ nonimportantapps.Add(app);
+ nonimportantapps[nonimportantapps.Count - 1].BringToFront();
+ nonimportantapps[nonimportantapps.Count - 1].FormClosing += new FormClosingEventHandler(NonImportantApp_Closing);
+
app.BringToFront();
startmenu.Hide();
}