Exemplo n.º 1
0
 private void start_level1 ()
 {
     Level1 level1 = new Level1();
     DialogResult dr = level1.ShowDialog();
     if (dr == System.Windows.Forms.DialogResult.OK)
         start_level2();
 }
Exemplo n.º 2
0
        private void btnStart_Click(object sender, EventArgs e)
        {
            Level1       level1 = new Level1();
            DialogResult dr     = level1.ShowDialog();

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