private void agregarJugadorToolStripMenuItem_Click(object sender, EventArgs e) { ABMJugadores abm = new ABMJugadores(); abm.Visible = true; abm.Modo = ABMJugadores.ModoForm.Alta; }
private void editarJugadorToolStripMenuItem_Click(object sender, EventArgs e) { int ID = ((Entidades.Jugador) this.dgvJugadores.SelectedRows[0].DataBoundItem).NroCamiseta; ABMJugadores abm = new ABMJugadores(ID); abm.ShowDialog(); this.Listar(); }