private void TimerRoundEnded(object sender, RoundEndedEventArgs e) { if (File.Exists(RestEndSound)) { var soundPlayer = new SoundPlayer(RestEndSound); soundPlayer.Play(); } }
private void TimerRestEnded(object sender, RoundEndedEventArgs e) { RestGongTimer.Stop(); if (!SettingsManager.CurrentSettings.NeedToLoopRestSound) { _restSoundPlayer.Play(); } ++CurrentRoundIndex; StartNextRound(); }