private void EducationDetailView_Loaded(object sender, RoutedEventArgs e) { if (UserEducation != null && FormMode == FormModes.New) { return; } if (FormMode != FormModes.New) { UserEducation = EducationRepo.FindByID(_educationID); } }