Пример #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();
        }