private void editBookingButton_Click(object sender, RoutedEventArgs e) { EditBooking editBooking = new EditBooking(hubCust); editBooking.Show(); this.Close(); }
public Facade(EditBooking editor) { _customer = UserTracker.Instance; _booker = BookingTracker.Instance; _guests = GuestTracker.Instance; _directory = DirectoryManager.Instance; this.editor = editor; //bring in reference to the booking editor }