예제 #1
0
        private void UserControlEnd_Load(object sender, EventArgs e)
        {
            q = bl.exerciseReturnRB();
            lblQuestion.Text = q.QuestionText;
            mark.Text        = q.Percent.ToString();

            answers           = bl.answerA(q.ID);
            radioButton1.Text = answers[0].AnswerValue.ToString();
            radioButton2.Text = answers[1].AnswerValue.ToString();
            radioButton3.Text = answers[2].AnswerValue.ToString();
            radioButton4.Text = answers[3].AnswerValue.ToString();
        }