Ejemplo n.º 1
0
        private void BOK_Click(object sender, EventArgs e)
        {
            if (ANSWER1.Checked == true && ANSWER2.Checked == false && ANSWER3.Checked == false)
            {
                Function.counter++;

                COUNTER.Text = Function.counter.ToString();
            }
            else if (ANSWER1.Checked == false && ANSWER2.Checked == true && ANSWER3.Checked == false)
            {
                Function.counter++;

                COUNTER.Text = Function.counter.ToString();
            }
            else if (ANSWER1.Checked == false && ANSWER2.Checked == false && ANSWER3.Checked == true)
            {
                star();
                MessageBox.Show(" The Level Two has been completed ");
                Levels L = new Levels();
                L.Show();
                this.Hide();
                L.level_3.Enabled = true;
            }
        }
Ejemplo n.º 2
0
        static public void Undo()
        {
            Levels L = new Levels();

            L.Show();
        }