private void AddNewAppointment_OnClick(object sender, RoutedEventArgs e)
        {
            var addNewAppointmentWindow = new AddNewAppointment();

            addNewAppointmentWindow.ShowDialog();
            this.GetCurrentAppointments();
        }
Example #2
0
        private void BtnAddNewAppointment_Click(object sender, RoutedEventArgs e)
        {
            AddNewAppointment addNewAppointmentWindow = new AddNewAppointment(worker);

            addNewAppointmentWindow.Show();
        }