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

            SpecializationsList = SpecializationsForScheduleTab.GetRepresentation(medicalWorker.Id);
            SpecializationSearchComboBox.ItemsSource = SpecializationsList;
        }
Exemplo n.º 2
0
        private void SpecializationSearchComboBox_SelectionChanged(object sender, SelectionChangedEventArgs e)
        {
            SpecializationsForScheduleTab specialization = SpecializationsList[SpecializationSearchComboBox.SelectedIndex];

            MedicalWorkersList = MedicalWorkerForScheduleTab.GetRepresentation(specialization.SpecializationId);
            MedicalWorkerSearchComboBox.ItemsSource = MedicalWorkersList;
        }
Exemplo n.º 3
0
 private void ResetButton_Click(object sender, RoutedEventArgs e)
 {
     SpecializationsList = SpecializationsForScheduleTab.GetRepresentation();
     MedicalWorkersList  = MedicalWorkerForScheduleTab.GetRepresentation();
     AvailabilitiesList  = AvailabilitiesForScheduleTab.GetRepresentation();
 }