private void goToQuestion_Click(object sender, EventArgs e) { this.Hide(); questions questions = new questions(quizId); questions.ShowDialog(); }
private void btnQuestions_Click(object sender, EventArgs e) { if (quizId > 0) { this.Hide(); questions questions = new questions(quizId); questions.ShowDialog(); } else { MessageBox.Show("U heeft nog geen quiz geselecteerd!"); } }