Пример #1
0
        private WeeklyBookingsPage wbp; // Store the instance of weeklybookingspage, in order to stop the updateThread when closing



        public MainWindow()
        {
            InitializeComponent();

            wbp = new WeeklyBookingsPage();
            FrameMain.Content = wbp;
        }
Пример #2
0
        // Button - SHOW WEEKLY BOOKINGS
        private void Button_ShowWeeklyBookings_Click(object sender, RoutedEventArgs e)
        {
            Button_ShowWeeklyBookings.IsEnabled   = false;
            Button_ShowPickUpAgreements.IsEnabled = true;

            wbp = new WeeklyBookingsPage();
            FrameMain.Content = wbp;
        }