示例#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);
 }