From 9ba0f0837636f98fac91b99a9c2b2ab35b20f113 Mon Sep 17 00:00:00 2001 From: Alex-TIMEHACK Date: Sat, 8 Jul 2017 16:06:25 +0100 Subject: Fixed taskbar showing bug --- TimeHACK.Main/OS/Win95/Win95.cs | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/TimeHACK.Main/OS/Win95/Win95.cs b/TimeHACK.Main/OS/Win95/Win95.cs index 32d619f..f60273d 100644 --- a/TimeHACK.Main/OS/Win95/Win95.cs +++ b/TimeHACK.Main/OS/Win95/Win95.cs @@ -105,10 +105,7 @@ namespace TimeHACK.OS.Win95 this.SendToBack(); // Update the taskbar - UpdateTaskbar(); - - // Bring to this the front - this.BringToFront(); + UpdateTaskbar(); //Check if it is the first time if (CurrentSave.FTime95 == false) @@ -123,9 +120,13 @@ namespace TimeHACK.OS.Win95 nonimportantapps[nonimportantapps.Count - 1].BringToFront(); nonimportantapps[nonimportantapps.Count - 1].FormClosing += new FormClosingEventHandler(NonImportantApp_Closing); + // Bring to this the front + this.BringToFront(); + app.BringToFront(); } + } private void fontLoad() -- cgit v1.2.3