private void MedicalWorkerSearchComboBox_SelectionChanged(object sender, SelectionChangedEventArgs e) { MedicalWorkerForScheduleTab medicalWorker = MedicalWorkersList[MedicalWorkerSearchComboBox.SelectedIndex]; SpecializationsList = SpecializationsForScheduleTab.GetRepresentation(medicalWorker.Id); SpecializationSearchComboBox.ItemsSource = SpecializationsList; }
private void ResetButton_Click(object sender, RoutedEventArgs e) { SpecializationsList = SpecializationsForScheduleTab.GetRepresentation(); MedicalWorkersList = MedicalWorkerForScheduleTab.GetRepresentation(); AvailabilitiesList = AvailabilitiesForScheduleTab.GetRepresentation(); }