From e8516c2dce55606a11154531d4243297c9e42e69 Mon Sep 17 00:00:00 2001 From: Strati Date: Mon, 6 Aug 2018 21:02:58 +0200 Subject: [PATCH] add comments to patientform --- WebClient/WpfWebClient/PatientForm.xaml.cs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/WebClient/WpfWebClient/PatientForm.xaml.cs b/WebClient/WpfWebClient/PatientForm.xaml.cs index ea6f186..fe9d6c0 100644 --- a/WebClient/WpfWebClient/PatientForm.xaml.cs +++ b/WebClient/WpfWebClient/PatientForm.xaml.cs @@ -69,8 +69,10 @@ namespace WpfWebClient Person p = new Person(); //if (ComboBoxSalutations.SelectedValue != null && ComboBoxSalutations.SelectedValue is Salutation) + //if (ComboBoxGenders.SelectedValue != null && ComboBoxGenders.SelectedValue is Gender) + //if (ComboBoxCities.SelectedValue != null && ComboBoxCities.SelectedValue is City) - + //Pick all selected fields and send object to client p.Salutation = (Salutation)ComboBoxSalutations.SelectedValue; p.Gender = (Gender)ComboBoxGenders.SelectedValue; p.LastName = txtLastName.Text;