Beispiel #1
0
        private void editBookingButton_Click(object sender, RoutedEventArgs e)
        {
            EditBooking editBooking = new EditBooking(hubCust);

            editBooking.Show();
            this.Close();
        }
Beispiel #2
0
        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
        }