Exemple #1
0
 private void saveEssayAnswer(int v)
 {
     answers[noTest] = new LockedAnswer();
     if (v == 1)
     {
         answers[noTest].pil1 = rtbEssay1.Text;
         isAnswer[noTest]     = true;
     }
     else if (v == 2)
     {
         answers[noTest].pil1 = rtbEssay1.Text;
         answers[noTest].pil2 = rtbEssay2.Text;
         isAnswer[noTest]     = true;
     }
     else if (v == 3)
     {
         answers[noTest].pil1 = rtbEssay1.Text;
         answers[noTest].pil2 = rtbEssay2.Text;
         answers[noTest].pil3 = rtbEssay3.Text;
         isAnswer[noTest]     = true;
     }
 }
Exemple #2
0
 private void setJawabPilGan(string jawab)
 {
     answers[noTest]       = new LockedAnswer();
     answers[noTest].kunci = jawab;
     isAnswer[noTest]      = true;
 }