コード例 #1
0
ファイル: Form1.cs プロジェクト: df239/SoftwareEngineeringApp
        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();
        }