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;