Program.cs 457 B

123456789101112131415161718192021
  1. using System;
  2. using System.Collections.Generic;
  3. using System.ServiceProcess;
  4. using System.Text;
  5. namespace US.Browser.Service
  6. {
  7. static class Program
  8. {
  9. /// <summary>
  10. /// 应用程序的主入口点。
  11. /// </summary>
  12. static void Main()
  13. {
  14. ServiceBase[] ServicesToRun;
  15. ServicesToRun = new ServiceBase[] { new USservice() };
  16. ServiceBase.Run(ServicesToRun);
  17. }
  18. }
  19. }