private void AddNewAppointment_OnClick(object sender, RoutedEventArgs e) { var addNewAppointmentWindow = new AddNewAppointment(); addNewAppointmentWindow.ShowDialog(); this.GetCurrentAppointments(); }
private void BtnAddNewAppointment_Click(object sender, RoutedEventArgs e) { AddNewAppointment addNewAppointmentWindow = new AddNewAppointment(worker); addNewAppointmentWindow.Show(); }