public ReservationWindow(Show show) { InitializeComponent(); this.show = show; PopulateWithCells(); reservationButton.IsEnabled = false; MovieInfo.Content = string.Format("{0}, {1}, {2:00}:{3:00}, hall {4}", show.Movie.Name, show.Date, show.Time.Hours, show.Time.Minutes, show.Hall.Id); }
public void Add(Show show) { this.shows.Add(show); }