示例#1
0
        private void GetIllnesses()
        {
            illnesses.Clear();
            illnesses = fachkonzept.GetIllnesses().ToList();
            illnessBindingSource.DataSource = illnesses;
            illnessBindingSource.ResetBindings(false);
            // get matching patients for first illness
            Illness illness = illnesses.Count == 0 ? new Illness() : illnesses.First();

            matchingPatients = fachkonzept.GetIllnessPatients(illness).ToList();
            matchingPatientBindingSource.DataSource = matchingPatients;
            matchingPatientBindingSource.ResetBindings(false);
        }