adjustments to examform

This commit is contained in:
Strati 2018-08-05 20:14:17 +02:00
parent 37f9c81472
commit e265cd7fda
1 changed files with 5 additions and 5 deletions

View File

@ -35,18 +35,18 @@ namespace WpfWebClient
ComboBoxDoctors.DisplayMemberPath = "FirstName"; ComboBoxDoctors.DisplayMemberPath = "FirstName";
//Retrieve all patients and save them into "patientlist" //Retrieve all patients and save them into "patientlist"
//List<WpfWebClient.ServiceReferenceEHEC.Person> patientlist = new List<ServiceReferenceEHEC.Person>(client.GetPatients()); List<WpfWebClient.ServiceReferenceEHEC.Person> patientlist = new List<ServiceReferenceEHEC.Person>(client.GetPersons());
//Display all patients with name in Combobox //Display all patients with name in Combobox
//ComboBoxDoctors.ItemsSource = patientlist; ComboBoxPatients.ItemsSource = patientlist;
//ComboBoxDoctors.DisplayMemberPath = "FirstName"; ComboBoxPatients.DisplayMemberPath = "FirstName";
//Retrieve all strains and save them into "strainlist" //Retrieve all strains and save them into "strainlist"
List<WpfWebClient.ServiceReferenceEHEC.Strain> strainlist = new List<ServiceReferenceEHEC.Strain>(client.GetStrains()); List<WpfWebClient.ServiceReferenceEHEC.Strain> strainlist = new List<ServiceReferenceEHEC.Strain>(client.GetStrains());
//Display all strains with name in Combobox //Display all strains with name in Combobox
ComboBoxDoctors.ItemsSource = strainlist; ComboBoxStrains.ItemsSource = strainlist;
ComboBoxDoctors.DisplayMemberPath = "Name"; ComboBoxStrains.DisplayMemberPath = "Name";
client.Close(); client.Close();
} }