예제 #1
0
        static void Main()
        {
            var service = new Service1();

            ServiceBase.Run(new[] { service });
        }
예제 #2
0
 static void Main()
 {
     var service = new Service1();
     ServiceBase.Run(new[] { service });
 }