Exemple #1
0
 public void Init()
 {
     _repo = new PlayListMemory();
     pl0 = new PlayList { Name = "pl0", Description = "zero playlist" };
     pl1 = new PlayList { Name = "pl1", Description = "first playlist" };
     pl2 = new PlayList { Name = "pl2", Description = "second playlist" };
     _repo.Add(pl0);
     _repo.Add(pl1);
     _repo.Add(pl2);
 }
Exemple #2
0
 private void Add(PlayListPlay plNode)
 {
     if (playlist == null)
     {
         guiToolkit.InfoMessage(Catalog.GetString("You have not loaded any playlist yet."));
     }
     else
     {
         playlist.Add(plNode);
         playlistWidget.Add(plNode);
     }
 }
 private void Add(PlayListPlay plNode)
 {
     playlist.Add(plNode);
     playlistWidget.Add(plNode);
 }