Example #1
0
        private void MedicalWorkerSearchComboBox_SelectionChanged(object sender, SelectionChangedEventArgs e)
        {
            MedicalWorkerForScheduleTab medicalWorker = MedicalWorkersList[MedicalWorkerSearchComboBox.SelectedIndex];

            SpecializationsList = SpecializationsForScheduleTab.GetRepresentation(medicalWorker.Id);
            SpecializationSearchComboBox.ItemsSource = SpecializationsList;
        }
Example #2
0
 private void ResetButton_Click(object sender, RoutedEventArgs e)
 {
     SpecializationsList = SpecializationsForScheduleTab.GetRepresentation();
     MedicalWorkersList  = MedicalWorkerForScheduleTab.GetRepresentation();
     AvailabilitiesList  = AvailabilitiesForScheduleTab.GetRepresentation();
 }