private void empresasBindingNavigatorEditItem_Click(object sender, EventArgs e) { var index = empresasDataGridView.CurrentCell.RowIndex; var form = new CadEmpresas(this, index); form.ShowDialog(); AtualizarGrid(); }
private void BindingNavigatorAddNewItem_Click(object sender, EventArgs e) { var form = new CadEmpresas(this); form.Novo(); }