private void button7_Click_1(object sender, EventArgs e)
{
if (dg.RowCount == 0)
{
MessageBox.Show("No se ha seleccionado ninguna aeronave", "Selección invalida", MessageBoxButtons.OK);
return;
}
List<Object> listaFuncionalidades = new List<object>(7);
if (llamadoDesdeModificacionSeleccionar)
{
cambiarVisibilidades(this.siguiente);
(siguiente as Modificacion).seSelecciono(dg.SelectedRows[0]);
return;
}
if (seSeteaQuery)
{
(anterior as Registro_Llegada_Destino.Form1).seSeleccionoMatricula(dg.SelectedRows[0]);
}
if (this.loActivoGenerarViajes)
{
(anterior as Generacion_Viaje.Form1).seSeleccionoAeronave(dg.SelectedRows[0]);
}
this.cambiarVisibilidades(this.anterior);
}