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