private void button5_Click(object sender, EventArgs e) { CadastroDeConta formularioDeCadastro = new CadastroDeConta(this); formularioDeCadastro.ShowDialog(); }
private void botaoNovaConta_Click(object sender, EventArgs e) { var cadastro = new CadastroDeConta(this); cadastro.ShowDialog(); }