private void Quiz_button_all_theories_Click(object sender, EventArgs e) { quiz_number = "4"; Quiz_Form frm = new Quiz_Form(); this.Hide(); frm.ShowDialog(); }
// user clicks ontake quiz button when he first sign in to the application. // When user presses this button first quiz appears on screen. private void Take_quiz_button_Click(object sender, EventArgs e) { quiz_number = "1"; Quiz_Form frm = new Quiz_Form(); this.Hide(); frm.ShowDialog(); Review_theory_button.Visible = false; Take_quiz_button.Visible = false; Welcome_label.Visible = false; }