Exemplo n.º 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();
        }
Exemplo n.º 2
0
 private void startGameButton_Click(object sender, EventArgs e)
 {
     triviaGame = new GameForm();
     triviaGame.SetData(questionList);
     triviaGame.Show();
 }
Exemplo n.º 3
0
 private void playButton_Click(object sender, EventArgs e)
 {
     playGame = new GameForm(listOfQuestions);
     playGame.Show();
     return;
 }