private void EndTimeGame() { lose = true; AnsverBoxPicture(true, "Время закончилось!"); TimeWindow.Start(); }
//////////////////////////////////////////////////////////////// private void LoseGame() { AnsverBoxPicture(true, "Ответ не верен!"); butColor = Color.Red; TimeWindow.Start(); TimeColor.Start(); LoseGameE?.Invoke(this, EventArgs.Empty); TimeTrueAnsverLose.Start(); player = new SoundPlayer("../../Resurses/sound/false.wav"); // player.SoundLocation = "../../sound.wav"; player.Play(); }