public void PlaySound() { if (SoundIsPlaying) { return; } var threadSound = new Thread(PlaySoundThread); threadSound.Start(); }