Exemplo n.º 1
0
        private void start_level1()
        {
            FormLevel1   level1 = new FormLevel1();
            DialogResult dr     = level1.ShowDialog();

            if (dr == System.Windows.Forms.DialogResult.OK)
            {
                start_level2();
            }
        }
Exemplo n.º 2
0
        private void StartLevel1()
        {
            Sound.PlayStart();
            FormLevel1   level1 = new FormLevel1();
            DialogResult dr     = level1.ShowDialog();

            if (dr == System.Windows.Forms.DialogResult.OK)
            {
                StartLevel2();
            }
        }