public UserPersonalityForm(List <QuizValidateModel> QuizList)
 {
     InitializeComponent();
     this.QuizList = new List <QuizValidateModel>();
     this.QuizList.AddRange(QuizList);
     this.userPersonality = new UserPerosonalityTypeInfo();
 }
 public void OnResponse(object response, RequestCodes requestCode)
 {
     if (requestCode == RequestCodes.GetPersonalityInfo)
     {
         userPersonality             = (UserPerosonalityTypeInfo)response;
         lblPersonalityTitle.Text    = "تیپ شخصیتی : " + userPersonality.PersonalityTypeTitle.Trim();
         lblKeyAttribute.Text        = "صفات کلیدی : " + userPersonality.PersonalityTypeKeyAttribute;
         lblFamousCharacters.Text    = "اشخاص معروف : " + userPersonality.PersonalityTypeFamousCharacters;
         lblStrenghtsPoints.Text     = "نقاط قوت : " + userPersonality.PersonalityTypeStrenghtsPoints;
         lblWeakPoints.Text          = "نقاط ضعف : " + userPersonality.PersonalityTypeWeakPoints;
         lblRelationsWithOthers.Text = "روابط با دیگران : " + userPersonality.PersonalityTypeRelationsWithOthers;
         lblProperJobs.Text          = "مشاغل مربوط : " + userPersonality.PersonalityTypeProperJobs;
         pictureBox1.Image           = Image.FromFile(Application.StartupPath + "/Images/" + userPersonality.PersonalityTypeAvatar);
     }
 }
 private void NotifyObserver(UserPerosonalityTypeInfo result)
 {
     ProperAnswerObserver.OnResponse(result, RequestCodes.GetPersonalityInfo);
 }