Пример #1
0
        private void play_button_Click(object sender, EventArgs e)
        {
            if (mediumRadio.Checked)
            {
                gameDiff = 2;
            }
            else if (hardRadio.Checked)
            {
                gameDiff = 3;
            }
            else
            {
                gameDiff = 1;
            }

            this.Hide();
            QuestionScreen qs = new QuestionScreen(this.gameDiff);

            qs.ShowDialog();
            this.Close();
        }
Пример #2
0
        private void play_button_Click(object sender, EventArgs e)
        {
            QuestionScreen qs = new QuestionScreen();

            qs.ShowDialog();
        }