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