Exemplo n.º 1
0
 private void AddScreeningForm_Load(object sender, EventArgs e)
 {
     DateCalendar.MinDate        = DateTime.Now;
     this.ScreeningTaken.Visible = false;
     movieComboBox.Items.AddRange(movieService.GetAllMovies().Select(m => m.Name + "," + m.ReleaseYear).ToArray());
     auditoriumComboBox.Items.AddRange(auditoriumService.GetAudtitoriums(cinema.Id).Select(a => a.Number.ToString()).ToArray());
 }