diff options
| author | lempamo <[email protected]> | 2017-07-01 22:49:31 -0400 |
|---|---|---|
| committer | lempamo <[email protected]> | 2017-07-01 22:49:31 -0400 |
| commit | c75aea5a35405b81de4f9ee679ed415cdc0fdeef (patch) | |
| tree | 90ffcb9f3504e59ed1aeaf58d0f87ed7a5e103ee /TimeHACK.Main/Program.cs | |
| parent | 311d896ca59155f4a1cd80921cd76c548937367a (diff) | |
| download | histacom2-c75aea5a35405b81de4f9ee679ed415cdc0fdeef.tar.gz histacom2-c75aea5a35405b81de4f9ee679ed415cdc0fdeef.tar.bz2 histacom2-c75aea5a35405b81de4f9ee679ed415cdc0fdeef.zip | |
a few improved things
Diffstat (limited to 'TimeHACK.Main/Program.cs')
| -rw-r--r-- | TimeHACK.Main/Program.cs | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/TimeHACK.Main/Program.cs b/TimeHACK.Main/Program.cs index 72a7291..8411ae8 100644 --- a/TimeHACK.Main/Program.cs +++ b/TimeHACK.Main/Program.cs @@ -80,12 +80,12 @@ 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); + System.Threading.Thread.Sleep(500); Application.Exit(); } |
