Пример #1
0
 private void cardListPlayList_PlayListChanged(CardListPlayList.PlayListChangedEventArgs e)
 {
     if (e.Action == PlaylistAction.Loaded)
         getImageControl1.LoadImagesForCards(cardListPlayList.Cards);
     if (e.Action == PlaylistAction.Deleted)
         clearCard();
 }
Пример #2
0
 void cardListPlayList_PlayListChanged(CardListPlayList.PlayListChangedEventArgs e)
 {
     switch(e.Action)
     {
         case PlaylistAction.Loaded:
             recentPlaylists1.AddPlaylist(e.CardIDs, e.Description);
             break;
         case PlaylistAction.Changed:
             recentPlaylists1.UpdateCurrentPlaylist(e.CardIDs, e.Description);
             break;
         case PlaylistAction.Deleted:
             cardControl.ClearCard();
             recentPlaylists1.RemoveCurrentPlaylist();
             break;
         case PlaylistAction.Cleared:
             cardControl.ClearCard();
             break;
     }
 }
Пример #3
0
 private void cardListPlayList_CardSelected(CardListPlayList.CardSelectedEventArgs e)
 {
     loadCard(e.Card);
 }
Пример #4
0
 private void cardListPlayList_CardSelected(CardListPlayList.CardSelectedEventArgs e)
 {
     e.CardWasSelected = cardControl.LoadCard(e.Card);
 }