Program.cs 444 B

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