private void ListViewTourGuides_DoubleClick(object sender, EventArgs e) { //When touristGuide is double clicked open tourist guide information int touristGuideID = Convert.ToInt32(listViewTourGuides.SelectedItems[0].Text); PageController.DisplayTouristGuide(touristGuideID); this.Hide(); this.Dispose(); }