private void cadastroDeUsuárioToolStripMenuItem_Click(object sender, EventArgs e) { frmNovoUsuario f_novoUsu = new frmNovoUsuario(); f_novoUsu.ShowDialog(); abreform(1, f_novoUsu); }
private void btnNovo_Click(object sender, EventArgs e) { frmNovoUsuario f_novo = new frmNovoUsuario(); f_novo.ShowDialog(); dtGrid.DataSource = Banco.ObterUsuariosIdNome(); }