示例#1
0
        // 打开答题卡窗体
        private void OpenAnswerCard()
        {
            AnswerCardForm answerCardForm = new AnswerCardForm();

            answerCardForm.MdiParent = this.MdiParent;
            answerCardForm.Show();
            this.Close();
        }
示例#2
0
        private void button1_Click(object sender, EventArgs e)
        {
            AnswerCardForm answerCardForm = new AnswerCardForm();

            answerCardForm.MdiParent = this.MdiParent;
            answerCardForm.Show();
            this.Close();
        }
        private void OpenAnswerCard()
        {
            AnswerCardForm answerCardForm = new AnswerCardForm();

            answerCardForm.MdiParent = this.MdiParent;
            answerCardForm.Show();
            QuizHelper.showquittips = false;
            this.Close();
        }
        private void btnNext_Click(object sender, EventArgs e)
        {
            QuizHelper.studentAnswers3[questionIndex3] = rdoOptionS.Text;
            rdoOptionS.Text = "";

            if (questionIndex3 < QuizHelper.selectedQuestionIds3.Length - 1)
            {
                questionIndex3++;

                GetQuestionDetails(); // 显示试题信息

                CheckBtnNext();       // 确定是否到了最后一题
            }
            else                      // 否则,打开答题卡窗体
            {
                AnswerCardForm AnswerCardForm = new AnswerCardForm();
                AnswerCardForm.Show();

                this.Hide();
            }
        }