Exemple #1
0
        private void btnNovo_Click(object sender, EventArgs e)
        {
            var frm = new frmCadastroContaCorrente();

            frm.ShowDialog();
            CarregarLista();
        }
Exemple #2
0
        private void button2_Click(object sender, EventArgs e)
        {
            var contaSelecionada = (ContaCorrente)gridContasCorrentes.SelectedRows[0].DataBoundItem;

            var frm = new frmCadastroContaCorrente(contaSelecionada);

            frm.ShowDialog();
            CarregarLista();
        }