private void PreguntarSiNOactivo_Tick(object sender, EventArgs e) { PreguntarSiNOactivo.Interval = 5000; Process[] LoL = Process.GetProcessesByName("League of Legends"); if (LoL.Length < 1) { this.Hide(); // Arrays remove SharkiQuerys.Hechizos.RemoveRange(0, SharkiQuerys.Hechizos.Count - 1); SharkiQuerys.Enemigos.RemoveRange(0, SharkiQuerys.Enemigos.Count - 1); PreguntarSiActivo.Start(); PreguntarSiNOactivo.Stop(); } }