private void dgvMarcas_CellDoubleClick(object sender, DataGridViewCellEventArgs e) { var row = this.dgvMarcas.SelectedRows[0].DataBoundItem as Marcas; var fm = new frmEdMarcas(row); fm.ShowDialog(); }
private void btnAgregar_Click(object sender, EventArgs e) { var frmEdMarcas = new frmEdMarcas(); frmEdMarcas.ShowDialog(); }