public EnterPatientInfoWindow() { InitializeComponent(); this.Office = new DoctorsOfficeView(); this.Patient = new PatientView(); this.Symptom = new SymptomView(); MainControl.DataContext = Patient.ContactInformation; SymptomDescriptionInput.DataContext = Symptom; SymptomSeveritySelector.DataContext = Symptom; Application.Current.Resources["Office"] = Office; }
public Symptom SymptomViewConverter(SymptomView symptom) { return new Symptom(symptom.Description, StringifyRadioButtonOutput(symptom.Severity)); }