Nelze vybrat více než 25 témat Téma musí začínat písmenem nebo číslem, může obsahovat pomlčky („-“) a může být dlouhé až 35 znaků.
 
 
 
 
 
 

60 řádky
2.3 KiB

  1. namespace VisitService
  2. {
  3. partial class ProjectInstaller
  4. {
  5. /// <summary>
  6. /// 必需的设计器变量。
  7. /// </summary>
  8. private System.ComponentModel.IContainer components = null;
  9. /// <summary>
  10. /// 清理所有正在使用的资源。
  11. /// </summary>
  12. /// <param name="disposing">如果应释放托管资源,为 true;否则为 false。</param>
  13. protected override void Dispose(bool disposing)
  14. {
  15. if (disposing && (components != null))
  16. {
  17. components.Dispose();
  18. }
  19. base.Dispose(disposing);
  20. }
  21. #region 组件设计器生成的代码
  22. /// <summary>
  23. /// 设计器支持所需的方法 - 不要修改
  24. /// 使用代码编辑器修改此方法的内容。
  25. /// </summary>
  26. private void InitializeComponent()
  27. {
  28. this.serviceProcessInstaller1 = new System.ServiceProcess.ServiceProcessInstaller();
  29. this.QuanjiangDigitalSchollVisitService = new System.ServiceProcess.ServiceInstaller();
  30. //
  31. // serviceProcessInstaller1
  32. //
  33. this.serviceProcessInstaller1.Account = System.ServiceProcess.ServiceAccount.LocalSystem;
  34. this.serviceProcessInstaller1.Password = null;
  35. this.serviceProcessInstaller1.Username = null;
  36. //
  37. // QuanjiangDigitalSchollVisitService
  38. //
  39. this.QuanjiangDigitalSchollVisitService.Description = "定时访问api";
  40. this.QuanjiangDigitalSchollVisitService.DisplayName = "QuanjiangDigitalSchollVisitService";
  41. this.QuanjiangDigitalSchollVisitService.ServiceName = "QuanjiangDigitalSchollVisitService";
  42. this.QuanjiangDigitalSchollVisitService.StartType = System.ServiceProcess.ServiceStartMode.Automatic;
  43. //
  44. // ProjectInstaller
  45. //
  46. this.Installers.AddRange(new System.Configuration.Install.Installer[] {
  47. this.serviceProcessInstaller1,
  48. this.QuanjiangDigitalSchollVisitService});
  49. }
  50. #endregion
  51. private System.ServiceProcess.ServiceProcessInstaller serviceProcessInstaller1;
  52. private System.ServiceProcess.ServiceInstaller QuanjiangDigitalSchollVisitService;
  53. }
  54. }