Exemple #1
0
 private int Next()
 {
     if (MediaFiles.Count() > (CurrentSongIndex + 1))
     {
         CurrentSongIndex++;
     }
     else
     {
         CurrentSongIndex = 0;
     }
     return(CurrentSongIndex);
 }