예제 #1
0
        static void Main()
        {
            Application.EnableVisualStyles();
            Application.SetCompatibleTextRenderingDefault(false);
            // Jogar jogar = new Jogar();
            // Application.Run(new Inicial());
            Inicial inicial = new Inicial();

            if (inicial.ShowDialog() == DialogResult.OK)
            {
                Application.Run(new Jogar());
            }

            //Jogar jogar = new Jogar();
            // if (jogar.teste == true)
            // Application.Run(new Jogo());
        }
예제 #2
0
        private void btnInicio_Click(object sender, EventArgs e)
        {
            Inicial inicial = new Inicial();

            inicial.ShowDialog();
        }