コード例 #1
0
ファイル: App.xaml.cs プロジェクト: shaftware/Torch
 private void Application_Activated(object sender, ActivatedEventArgs e)
 {
     LampDevice = new LampDevice();
 }
コード例 #2
0
ファイル: App.xaml.cs プロジェクト: shaftware/Torch
 private void Application_Launching(object sender, LaunchingEventArgs e)
 {
     LampDevice = new LampDevice();
 }
コード例 #3
0
ファイル: App.xaml.cs プロジェクト: shaftware/Torch
 private void RootFrame_Unobscured(object sender, EventArgs e)
 {
     if (Settings.DisableApplicationIdleDetection && LampDevice.IsDisposed)
     {
         LampDevice = new LampDevice();
     }
 }