private void lstShows_MouseDoubleClick(object sender, MouseEventArgs e) { ListViewItem item = lstShows.HitTest(e.Location).Item; if (item != null) { try { _controller.Rename(item.Tag as Show); } catch (EpisodeNotFoundException) { // TODO: let the user know that the episode was not found. // Maybe dialog result } Close(); } }