Exemplo n.º 1
0
        private void StartQuiz(object sender, EventArgs e, Quiz quiz)
        {
            QuestionForm questionForm = new QuestionForm(quiz.Questions);

            questionForm.Show();
            this.Visible = false;
        }
Exemplo n.º 2
0
        private void SwitchToNextQuestion(object sender, EventArgs e)
        {
            // TODO: Update Quiz Result

            QuestionForm questionForm = new QuestionForm(this.questions, this.currentQuestionIndex + 1);

            questionForm.Show();
            this.Visible = false;
        }