private void modificarVotantesToolStripMenuItem1_Click(object sender, EventArgs e) {//metodo que llama a un windows form if (dtgVotantes.SelectedRows.Count > 0) { Votante votante = (Votante)dtgVotantes.SelectedRows[0].DataBoundItem; frmModificarVotantes modificarVotantes = new frmModificarVotantes(votante); modificarVotantes.Show(); this.TraerDatos(); } this.TraerDatos(); }
private void modificarVotantesToolStripMenuItem1_Click(object sender, EventArgs e) { //metodo que llama a un windows form if (dtgVotantes.SelectedRows.Count > 0) { Votante votante = (Votante)dtgVotantes.SelectedRows[0].DataBoundItem; frmModificarVotantes modificarVotantes = new frmModificarVotantes(votante); modificarVotantes.Show(); this.TraerDatos(); } this.TraerDatos(); }