private void DisplayQuestion() { test.Dequeue(); QuestionText.Text = test.currentQuestion; int j = 0; foreach (string choice in test.currentChoices) { if (j == 0) { AText.Text = choice; } else if (j == 1) { BText.Text = choice; } else if (j == 2) { CText.Text = choice; } else if (j == 3) { DText.Text = choice; } j++; } }
private void DisplayQuestion() { test.Dequeue(); QuestionText.Text = test.currentQuestion; count = test.currentEnumerationAnswers.Count; answers = new string[count]; }
private void DisplayQuestion() { test.Dequeue(); QuestionText.Text = test.currentQuestion; if (test.HintEnabled) { Hint.Text = test.currentHint; } }