Пример #1
0
        private void start_Click(object sender, EventArgs e)
        {
            Levels L = new Levels();

            L.Show();
            this.Hide();
        }
Пример #2
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;
            }
        }
Пример #3
0
        static public void Undo()
        {
            Levels L = new Levels();

            L.Show();
        }