Esempio n. 1
0
 protected void CheckPaused()
 {
     if (WorkPaused != null)
     {
         WorkPaused(this, WorkPausedEventArgs.PausedArgs(ID));
     }
 }
Esempio n. 2
0
 public void Pause()
 {
     Logger.Log(this, logType.paused, "");
     pauseTrigger.Reset();
     _paused = true;
     if (WorkPaused != null)
     {
         WorkPaused(this, WorkPausedEventArgs.PausedArgs(ID));
     }
 }