private void RemovePodcastBtn_Click(object sender, EventArgs e) { if (validate.IfItemNotSelected(PodcastFeed.SelectedItems.Count)) { Podcast RemovedPod = pHandler.RemovePodcastFromList(PodcastFeed.SelectedItems[0].Text); if (RemovedPod.updateTimer != null) { tService.StopTimer(RemovedPod); } episodeDesc.Clear(); episodeList.Items.Clear(); FillPodcastFeed(); } else { using (new CenterWinDialog(this)) { MessageBox.Show("You must select a podcast to remove it.", "Error", MessageBoxButtons.OK, MessageBoxIcon.Error); } } }