C# app to record currently focused window
您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符

Program.cs 494B

123456789101112131415161718192021222324
  1. using System;
  2. using System.Collections.Generic;
  3. using System.Linq;
  4. using System.ServiceProcess;
  5. using System.Text;
  6. namespace WindowMonitor
  7. {
  8. static class Program
  9. {
  10. /// <summary>
  11. /// The main entry point for the application.
  12. /// </summary>
  13. static void Main()
  14. {
  15. ServiceBase[] ServicesToRun;
  16. ServicesToRun = new ServiceBase[]
  17. {
  18. new Service1()
  19. };
  20. ServiceBase.Run(ServicesToRun);
  21. }
  22. }
  23. }