aboutsummaryrefslogtreecommitdiff
path: root/TimeHACK.Main/Program.cs
diff options
context:
space:
mode:
authorAlex-TIMEHACK <[email protected]>2017-07-02 16:10:38 +0100
committerAlex-TIMEHACK <[email protected]>2017-07-02 16:10:38 +0100
commit9d4a384d899702c01443872b75d182e810e3dac1 (patch)
tree3633465b1a52c525d292cccf5765abc4af4c6902 /TimeHACK.Main/Program.cs
parentda6e7a7e8b3d8944d9139d4e2bb3ecfa2122840b (diff)
parent69ae842e6e3193a27b0294f92784ef97eb69fb37 (diff)
downloadhistacom2-9d4a384d899702c01443872b75d182e810e3dac1.tar.gz
histacom2-9d4a384d899702c01443872b75d182e810e3dac1.tar.bz2
histacom2-9d4a384d899702c01443872b75d182e810e3dac1.zip
Updated!
# Conflicts: # TimeHACK.Main/OS/Win95/Win95.Designer.cs # TimeHACK.Main/OS/Win95/Win95.cs # TimeHACK.Main/Properties/Resources.resx # TimeHACK.Main/TimeHACK.Main.csproj
Diffstat (limited to 'TimeHACK.Main/Program.cs')
-rw-r--r--TimeHACK.Main/Program.cs9
1 files changed, 5 insertions, 4 deletions
diff --git a/TimeHACK.Main/Program.cs b/TimeHACK.Main/Program.cs
index 83beaea..e488108 100644
--- a/TimeHACK.Main/Program.cs
+++ b/TimeHACK.Main/Program.cs
@@ -84,13 +84,14 @@ namespace TimeHACK
public static void ShutdownApplication(System.IO.UnmanagedMemoryStream audio)
{
-
+ System.Threading.Thread.Sleep(500);
System.IO.Stream audioPlay = audio;
stopsound = new System.Media.SoundPlayer(audioPlay);
- stopsound.Play();
+ stopsound.PlaySync();
- System.Threading.Thread.Sleep(1500);
- Application.Exit();
+ System.Threading.Thread.Sleep(500);
+ Environment.Exit(0);
+ //Application.Exit();
}
public static void GetAppVeyor()