Esempio n. 1
0
        private void start_level2()
        {
            FormLevel2   level2 = new FormLevel2();
            DialogResult dr     = level2.ShowDialog();

            if (dr == System.Windows.Forms.DialogResult.OK)
            {
                start_level3();
            }
        }
Esempio n. 2
0
        private void StartLevel2()
        {
            FormLevel2   level2 = new FormLevel2();
            DialogResult dr     = level2.ShowDialog();

            if (dr == System.Windows.Forms.DialogResult.OK)
            {
                Sound.PlayWin();
                MessageBox.Show("Вы прошли все уровни лабиринта!", "Победа");
            }
        }