private void cardListPlayList_PlayListChanged(CardListPlayList.PlayListChangedEventArgs e) { if (e.Action == PlaylistAction.Loaded) getImageControl1.LoadImagesForCards(cardListPlayList.Cards); if (e.Action == PlaylistAction.Deleted) clearCard(); }
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; } }
private void cardListPlayList_CardSelected(CardListPlayList.CardSelectedEventArgs e) { loadCard(e.Card); }
private void cardListPlayList_CardSelected(CardListPlayList.CardSelectedEventArgs e) { e.CardWasSelected = cardControl.LoadCard(e.Card); }