コード例 #1
0
        private void btnQuiz_Click(object sender, EventArgs e) //opens quiz form
        {
            frm03Quiz lvl1 = new frm03Quiz();                  //opens the quiz from

            this.Hide();
            lvl1.Show();
        }
コード例 #2
0
        private void btnQuiz_Click(object sender, EventArgs e)//returns to quiz form
        {
            frm03Quiz quiz = new frm03Quiz();

            this.Hide();
            quiz.Show();
        }
コード例 #3
0
        private void BtnQuiz_Click(object sender, EventArgs e)//opens quiz form
        {
            frm03Quiz quiz = new frm03Quiz();

            this.Hide();
            quiz.Show();
        }
コード例 #4
0
        private void btnQuiz_Click(object sender, EventArgs e) //brings user back to quiz form
        {
            DialogResult exitConfirm = new DialogResult();

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

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