private void retroItemListBox_SelectedIndexChanged(object sender, EventArgs e) { selPod = (Podcast)retroItemListBox.SelectedItem; if (selPod != null) { origPod = (Podcast)selPod.Clone(); } else { origPod = null; } if ((Podcast)retroItemListBox.SelectedItem != null) { writePodInfo(); podInfoEditBtn.Enabled = true; } else { podInfoEditBtn.Enabled = false; } }