private void ListViewHotels_DoubleClick(object sender, EventArgs e) { int hotelID = Convert.ToInt32(listViewHotels.SelectedItems[0].Text); PageController.DisplayHotel(hotelID); this.Hide(); this.Dispose();; }
private void ListViewHotels_DoubleClick(object sender, EventArgs e) { int hotelID = Convert.ToInt32(listViewHotels.SelectedItems[0].Text); PageController.DisplayHotel(hotelID); this.Hide(); this.Dispose();; }