/// <summary> /// Initialize the form, done here instead of constructor as to allow the form to be filled with which customer is chosen /// </summary> /// <param name="sender"></param> /// <param name="e"></param> private void BookingForm_Shown(object sender, EventArgs e) { topLabel.Text = $"Welcome, {ActiveCustomer.FirstName}!"; movies = handler.GetMovies(); int picBoxIndex = 0; foreach (Movie movie in movies) { moviePictures[picBoxIndex].Image = Image.FromFile(movie.PicturePath); moviePictures[picBoxIndex].Name = movie.Name; picBoxIndex++; } this.Text = $"{ActiveCustomer.FirstName}'s personal page"; PopulateBookedTickets(); }