Esempio n. 1
0
 private void StopFocusMonitor()
 {
     if (FocusMonitor.GetInstance().IsRunning)
     {
         FocusMonitor.GetInstance().Stop();
         FocusMonitor.GetInstance().Heartbeat -= SwitchPreviewRemoteInvoke;
     }
 }
Esempio n. 2
0
 private void RunFocusMonitor()
 {
     if (!FocusMonitor.GetInstance().IsRunning)
     {
         FocusMonitor.GetInstance().Start();
         FocusMonitor.GetInstance().Heartbeat += SwitchPreviewRemoteInvoke;
     }
 }
Esempio n. 3
0
 private void RunFocusMonitor()
 {
     FocusMonitor.GetInstance().Start();
 }
Esempio n. 4
0
 private void StopFocusMonitor()
 {
     FocusMonitor.GetInstance().Stop();
 }