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