예제 #1
0
 void PowerModeChanged(object sender, PowerModeChangedEventArgs e)
 {
     switch (e.Mode)
     {
     case PowerModes.Resume:
         SystemResumed.Raise(this);
         break;
     }
 }
예제 #2
0
 void HandleNSWorkspaceDidWakeNotification()
 {
     SystemResumed.Raise(this);
 }