private void AudioPlayerOnPlaylistChanged(object sender, PlaylistChangedEventArgs args) { var trackListStore = TrackListView.Model as TrackListStore; Debug.Assert(trackListStore != null, "trackListStore != null"); trackListStore.SetNewPlaylist(args.NewPlaylist); }
protected virtual void OnPlaylistChanged(PlaylistChangedEventArgs args) { PlaylistChangedHandler handler = PlaylistChanged; if (handler != null) handler(this, args); }