Beispiel #1
0
 private void BookingForm_Load(object sender, EventArgs e)
 {
     lb_Products.DisplayMember = "Title";
     lb_Services.DisplayMember = "Title";
     cb_employee.DataSource    = employeeController.GetEmployees();
     cb_employee.DisplayMember = "FirstName";
     dgv_bookings.DataSource   = bookingsController.GetBookingsByEmployee((Employee)cb_employee.SelectedItem, dateTime1.SelectionStart);
     //dgv_bookings.DataSource = bookingsController.GetAllBookings();
 }