From 68a77fb78ea3f592e0b91cc1dc79e94e7e768261 Mon Sep 17 00:00:00 2001 From: Strati Date: Tue, 7 Aug 2018 19:26:02 +0200 Subject: [PATCH 1/7] light improvements to examform/foodplaceform --- WebClient/WpfWebClient/ExamForm.xaml.cs | 2 +- WebClient/WpfWebClient/FoodplaceForm.xaml | 6 ++++-- WebClient/WpfWebClient/FoodplaceForm.xaml.cs | 12 +++++++++++- 3 files changed, 16 insertions(+), 4 deletions(-) diff --git a/WebClient/WpfWebClient/ExamForm.xaml.cs b/WebClient/WpfWebClient/ExamForm.xaml.cs index d62a367..0a833a0 100644 --- a/WebClient/WpfWebClient/ExamForm.xaml.cs +++ b/WebClient/WpfWebClient/ExamForm.xaml.cs @@ -60,7 +60,7 @@ namespace WpfWebClient exam.Date = dateboxExamDate.SelectedDate.Value; exam.Doctor = (Doctor)ComboBoxDoctors.SelectedValue; exam.Patient = (Person)ComboBoxPatients.SelectedValue; - exam.Description = txtDescription.ToString(); + exam.Description = txtDescription.Text; exam.Strain = (Strain)ComboBoxStrains.SelectedValue; client.WriteExam(exam); diff --git a/WebClient/WpfWebClient/FoodplaceForm.xaml b/WebClient/WpfWebClient/FoodplaceForm.xaml index 8019a3d..bb93366 100644 --- a/WebClient/WpfWebClient/FoodplaceForm.xaml +++ b/WebClient/WpfWebClient/FoodplaceForm.xaml @@ -18,14 +18,16 @@