Пример #1
0
        private void GetPatients()
        {
            patients.Clear();
            patients = fachkonzept.GetPatients().ToList();
            patientBindingSource.DataSource = patients;
            patientBindingSource.ResetBindings(false);
            // get matching illnesses to first patient
            Patient patient = patients.Count == 0 ? new Patient() : patients.First();

            matchingIllnesses = fachkonzept.GetPatientIllnesses(patient).ToList();
            matchingIllnessBindingSource.DataSource = matchingIllnesses;
            matchingIllnessBindingSource.ResetBindings(false);
        }