25개 이상의 토픽을 선택하실 수 없습니다. Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

28 lines
590 B

  1. using System;
  2. using System.Collections.Generic;
  3. using System.Linq;
  4. using System.ServiceProcess;
  5. using System.Text;
  6. using System.Threading;
  7. using System.Threading.Tasks;
  8. namespace VisitService
  9. {
  10. static class Program
  11. {
  12. /// <summary>
  13. /// 应用程序的主入口点。
  14. /// </summary>
  15. static void Main()
  16. {
  17. ServiceBase[] ServicesToRun;
  18. ServicesToRun = new ServiceBase[]
  19. {
  20. new QuanjiangDigitalSchollVisitService()
  21. };
  22. ServiceBase.Run(ServicesToRun);
  23. }
  24. }
  25. }