예제 #1
0
        private void btnCadastrar_Click(object sender, EventArgs e)
        {
            // Abre o form Cadastrar pokemons
            FormPokemonsCadastro cadPokes = new FormPokemonsCadastro();

            cadPokes.StartPosition = FormStartPosition.CenterScreen;
            cadPokes.ShowDialog();
        }
예제 #2
0
        private void button1_Click(object sender, EventArgs e)
        {
            FormPokemonsCadastro fpc = new FormPokemonsCadastro();

            fpc.ShowDialog();
        }