Exemplo n.º 1
0
 private void TimerRoundEnded(object sender, RoundEndedEventArgs e)
 {
     if (File.Exists(RestEndSound))
     {
         var soundPlayer = new SoundPlayer(RestEndSound);
         soundPlayer.Play();
     }
 }
Exemplo n.º 2
0
        private void TimerRestEnded(object sender, RoundEndedEventArgs e)
        {
            RestGongTimer.Stop();
            if (!SettingsManager.CurrentSettings.NeedToLoopRestSound)
            {
                _restSoundPlayer.Play();
            }

            ++CurrentRoundIndex;
            StartNextRound();
        }