Exemple #1
0
 private void ListViewPodcasts_SelectedIndexChanged(object sender, EventArgs e)
 {
     if (podcastListview.SelectedItems.Count > 0)
     {
         var podcastData = PodcastHandler.getPodcast(podcastListview.SelectedItems.ToString());
         episodeListview.BeginUpdate();
         episodeListview = PodcastHandler.updateEpisodeListview(episodeListview, podcastListview.SelectedItems[0].Text);
         episodeListview.EndUpdate();
         episodeListview.Items[0].Selected = true;
     }
 }