Beispiel #1
0
 public void DoPrevious()
 {
     if (IsShuffleOn)
     {
         ShuffledIndex = ShuffledMedia.IndexOf(CurrentMedia) - 1;
     }
     else
     {
         Index = Medias.IndexOf(CurrentMedia) - 1;
     }
 }
Beispiel #2
0
        /// <summary>
        /// Commands
        /// </summary>

        public void DoNext()
        {
            if (IsShuffleOn)
            {
                ShuffledIndex = ShuffledMedia.IndexOf(CurrentMedia) + 1;
                //Index = Medias.IndexOf(CurrentMedia);
            }
            else
            {
                Index = Medias.IndexOf(CurrentMedia) + 1;
            }
        }