Esempio n. 1
0
 protected override void OnStart(string[] args)
 {
   if (_launcher != null)
     return;
   _launcher = new ApplicationLauncher(null);
   _launcher.Start();
   SubscribeToMessages();
   UpdatePowerState();
 }
Esempio n. 2
0
 protected override void OnStart(string[] args)
 {
     if (_launcher != null)
     {
         return;
     }
     _launcher = new ApplicationLauncher(null);
     _launcher.Start();
     SubscribeToMessages();
     UpdatePowerState();
 }