Exemple #1
0
 private void Application_Activated(object sender, ActivatedEventArgs e)
 {
     LampDevice = new LampDevice();
 }
Exemple #2
0
 private void Application_Launching(object sender, LaunchingEventArgs e)
 {
     LampDevice = new LampDevice();
 }
Exemple #3
0
 private void RootFrame_Unobscured(object sender, EventArgs e)
 {
     if (Settings.DisableApplicationIdleDetection && LampDevice.IsDisposed)
     {
         LampDevice = new LampDevice();
     }
 }