private void CrearButtonRuta_Click(object sender, EventArgs e) { CrearOModificarRuta view = new CrearOModificarRuta(); view.ShowDialog(); fillDataGridView(); }
private void ModificarButtonRuta_Click(object sender, EventArgs e) { CrearOModificarRuta form = new CrearOModificarRuta((Ruta)dataGridViewRuta.CurrentRow.DataBoundItem); form.ShowDialog(); updateDataGridView(); }