Ejemplo n.º 1
0
 private void SessionSwitchEvent(object o, LockStatusChangedEventArgs e)
 {
     if (e.Reason == LockStatusChangedReason.Lock)
         _timeController.StopTimer();
     else if (e.Reason == LockStatusChangedReason.Unlock)
         _timeController.StartTimer();
 }
Ejemplo n.º 2
0
 private void SessionSwitchEvent(object o, LockStatusChangedEventArgs e)
 {
     if (e.Reason == LockStatusChangedReason.Lock)
     {
         _timeController.StopTimer();
     }
     else if (e.Reason == LockStatusChangedReason.Unlock)
     {
         _timeController.StartTimer();
     }
 }