Exemple #1
0
        private void startGameToolStripMenuItem_Click(object sender, EventArgs e)
        {
            if (questionList == null || questionList.Count == 0)
            {
                MessageBox.Show("Load question before you start the game!");
                return;
            }

            gameForm = new GameForm(questionList);
            gameForm.Show();
        }
 private void startGameButton_Click(object sender, EventArgs e)
 {
     triviaGame = new GameForm();
     triviaGame.SetData(questionList);
     triviaGame.Show();
 }
Exemple #3
0
 private void playButton_Click(object sender, EventArgs e)
 {
     playGame = new GameForm(listOfQuestions);
     playGame.Show();
     return;
 }