BeatMachine.BetterMediaPlayer.MovePrev C# (CSharp) Метод

MovePrev() публичный Метод

public MovePrev ( ) : void
Результат void
        public void MovePrev()
        {
            currentSongIndex--;
            if (currentSongIndex < 0)
            {
                currentSongIndex = 0;
            }
            ActiveSong = songs[currentSongIndex];
            if (State == MediaState.Playing)
            {
                Play();
            }
            else
            {
                Stop();
            }
        }