public static async void MostrarDisponibilidad(Form form, Reserva reserva) { span = new TimeSpan(0, limitMinutesTime, limitSecondsTime); asientosReserva = new List <AsientoZona>(); tokenTemp = GenerarToken(); reservaTemp = reserva; formTemp = form; contador = 0; try { Animacion.ShowLoader(form); lAsientoTotal = await servicio.listarAsientoTeatroAsync(reserva.Obra.IdObra); lOcupados = await servicio.ListarAsientoDisponibleAsync(reservaTemp.Obra.IdObra, reservaTemp.Funcion.IdFuncion, reservaTemp.FechaReserva, tokenTemp); CruzarBotonData(lAsientoTotal, form); AsignarListaOcupada(lOcupados); SetEventosBoton(); timer = new Timer(); timer.Interval = 1000; timer.Enabled = true; timer.Tick += new EventHandler(timerTeatro_Tick); } catch (Exception ex) { MessageBox.Show(ex.Message); } finally { Animacion.HideLoader(form); } }