Beispiel #1
0
 public void Pulse()
 {
     if (IsRunning && !IsPaused)
     {
         TaskManager.Pulse();
     }
 }
Beispiel #2
0
        public void Pulse()
        {
            if (ShoudPause)
            {
                ShoudPause = false;
                Random rnd = new Random();
                Pause(20 + rnd.Next(20));
            }

            if (IsRunning && !IsPaused)
            {
                TaskManager.Pulse();
            }
        }