Esempio n. 1
0
 static void Main(string[] args)
 {
     while (true)
     {
         var name = Console.ReadLine();
         var sh = new ServiceManager.ServiceHelper(name);
         sh.ServiceStatusChanged += sh_ServiceStatusChanged;
         sh.Start();
     }
 }
Esempio n. 2
0
 static void Main(string[] args)
 {
     while (true)
     {
         var name = Console.ReadLine();
         var sh   = new ServiceManager.ServiceHelper(name);
         sh.ServiceStatusChanged += sh_ServiceStatusChanged;
         sh.Start();
     }
 }