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(); }
private void play_button_Click(object sender, EventArgs e) { QuestionScreen qs = new QuestionScreen(); qs.ShowDialog(); }