private void btnQuiz_Click(object sender, EventArgs e)
        {
            frmQuiz lvl1 = new frmQuiz(); //opens the quiz from when clicked

            this.Hide();
            lvl1.Show();
        }
        private void btnQuiz_Click(object sender, EventArgs e)
        {
            DialogResult exitConfirm = new DialogResult();

            exitConfirm = MessageBox.Show("Are you sure?", "Confirm", MessageBoxButtons.YesNo, MessageBoxIcon.Warning);

            if (exitConfirm == DialogResult.Yes)
            {
                frmQuiz ma = new frmQuiz();
                this.Hide();
                ma.Show();
            }
        }