Exemplo n.º 1
0
        /// <summary>
        /// Start playing the first track in this playlist.
        /// </summary>

        public void PlayFirstTrack()
        {
            Invoke((Action) delegate
            {
                playlist.PlayFirstTrack();
            });
        }
Exemplo n.º 2
0
 private void PlayPlaylist(IITPlaylist pl)
 {
     if (pl.Tracks.Count != 0)
     {
         pl.PlayFirstTrack();
         pl.SongRepeat = ITPlaylistRepeatMode.ITPlaylistRepeatModeAll;
         pl.Shuffle    = false;
     }
 }
Exemplo n.º 3
0
 public Track Play()
 {
     _playlist.PlayFirstTrack();
     return(Songs > 0 ? TrackList[0] : null);
 }