private void btnHighScores_Click(object sender, EventArgs e) { int difficulty = -1; if (rbEasy.Checked) { difficulty = 1; } else if (rbMedium.Checked) { difficulty = 2; } else { difficulty = 3; } FallScores f = new FallScores(difficulty); f.ShowDialog(); }
private void btnHighScores_Click(object sender, EventArgs e) { FallScores fs = new FallScores(); fs.ShowDialog(); }