コード例 #1
0
 private void UserControlTop_Load(object sender, EventArgs e)
 {
     if (cnt <= 5)
     {
         q = bl.exerciseReturn6();
         lblQuestion.Text = q.QuestionText;
     }
     else
     {
         q = bl.exerciseReturn10();
         lblQuestion.Text = q.QuestionText;
     }
     mark.Text = q.Percent.ToString();
     cnt++;
 }