Exemple #1
0
 private void saveBookingBTN_Click(object sender, EventArgs e)
 {
     if (selSimMac != null)
     {
         if (sims.ContainsKey(selSimMac))
         {
             Booking b = CompileBookingInformation(0);
             db.NewBooking(b);
             // update sim info with new booking
             bsw.UpdateSimPanelBookingInformation(selSimMac, b, false);
             bsw.GenerateTimeSlots();
             //bsw.PopulateBookings(selDay);
             this.Close();
         }
     }
 }