private void AddPodcast(object sender, EventArgs e) { var url = myMainForm.GetNewPodcastURL(); if (url != null) { var pod = new Podcast() { SubscriptionUrl = url }; Podcast.UpdatePodcast(pod); Podcast.Podcasts.Add(pod); var index = myMainForm.AddPodcast(pod.Title); myMainForm.PodcastSelectedIndex = index; } }