Example #1
0
        private void StartButton_Click(object sender, EventArgs e)
        {
            Properties.Settings.Default.Save();

            if (!_quiz.IsPaused)
            {
                InitializeValues();
                LoadQuizWithOptions();
                QuestionDisplay.Text = _quiz.GetFirstQuestion().DisplayText;
            }

            AnswerInput.Focus();
            _quiz.Start(_elapsedTimeDelegate);
            PauseButton.BringToFront();
            _quiz.IsPaused = false;
        }