private void PauseProcess_Elapsed(object sender, ElapsedEventArgs e) { // Debug all processes foreach (OSDProcess o in ProcessList.Where(p => p.PID != null)) { PTSDebug.PauseProcess((int)o.PID); } }
private void UnpauseProcess_Elapsed(object sender, ElapsedEventArgs e) { // Remove all debugs foreach (OSDProcess o in ProcessList.Where(p => p.PID != null)) { PTSDebug.UnpauseProcess((int)o.PID); } }