aboutsummaryrefslogtreecommitdiff
path: root/TimeHACK.Main/TitleScreen.cs
diff options
context:
space:
mode:
Diffstat (limited to 'TimeHACK.Main/TitleScreen.cs')
-rw-r--r--TimeHACK.Main/TitleScreen.cs16
1 files changed, 16 insertions, 0 deletions
diff --git a/TimeHACK.Main/TitleScreen.cs b/TimeHACK.Main/TitleScreen.cs
index 1b3c52c..ea512e4 100644
--- a/TimeHACK.Main/TitleScreen.cs
+++ b/TimeHACK.Main/TitleScreen.cs
@@ -166,6 +166,22 @@ namespace TimeHACK
frm95.Close();
frm95 = null;
+ try
+ {
+ // Time to close all the game applications
+ foreach (Form frm in Application.OpenForms)
+ {
+ if (frm.Tag.ToString() != "ignoreFormOnTaskbar")
+ {
+ frm.Close();
+ }
+ }
+ } catch {
+
+ }
+
+
+
// If VM Mode is not enabled
if (vm_mode.Checked != true)
{