private void newBtn_Click(object sender, EventArgs e) { frmEventoNuevo ventanaEventoNuevo = new frmEventoNuevo(_gestorEventos, _gestorEquipos); ventanaEventoNuevo.ShowDialog(); this.CargarGrilla(this._gestorEventos.ListaEventos); }
private void editBtn_Click(object sender, EventArgs e) { string nombre = this.dataGridView1.SelectedRows[0].Cells[0].Value.ToString(); frmEventoNuevo ventanaEventoNuevo = new frmEventoNuevo(_gestorEventos, _gestorEquipos, nombre); ventanaEventoNuevo.ShowDialog(); this.CargarGrilla(this._gestorEventos.ListaEventos); }