protected override void btnModificar_Click(object sender, EventArgs e) { if (this.dgvDatos.CurrentRow == null) return; DetalleMarca m = new DetalleMarca(Util.Entero(this.dgvDatos.CurrentRow.Cells["MarcaID"].Value)); m.ShowDialog(); }
protected override void btnModificar_Click(object sender, EventArgs e) { if (this.dgvDatos.CurrentRow == null) { return; } DetalleMarca m = new DetalleMarca(Util.Entero(this.dgvDatos.CurrentRow.Cells["MarcaID"].Value)); m.ShowDialog(); }
protected override void btnAgregar_Click(object sender, EventArgs e) { DetalleMarca m = new DetalleMarca(); m.ShowDialog(); }