Exemplo n.º 1
0
 /// <summary>
 /// Remove a given track
 /// </summary>
 /// <param name="_track"></param>
 public void RemoveTrack(Track _track)
 {
     if (CanEdit)
     {
         ListTrack.Remove(_track);
     }
 }
Exemplo n.º 2
0
 /// <summary>
 ///  Delete a track in an album.
 /// </summary>
 /// <param name="track"></param>
 public void EraseTrack(string track)
 {
     foreach (var thetrack in ListTrack)
     {
         if (thetrack.Title.Equals(track))
         {
             ListTrack.Remove(thetrack);
             return;
         }
     }
 }
Exemplo n.º 3
0
 /// <summary>
 /// Remove a given track
 /// </summary>
 /// <param name="_track"></param>
 public void RemoveTrack(Track _track)
 {
     ListTrack.Remove(_track);
 }