You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

Program.cs 807 B

2 jaren geleden
2 jaren geleden
1234567891011121314151617181920212223
  1. using Microsoft.Extensions.Configuration;
  2. namespace HKCardManager
  3. {
  4. internal static class Program
  5. {
  6. /// <summary>
  7. /// The main entry point for the application.
  8. /// </summary>
  9. [STAThread]
  10. static void Main()
  11. {
  12. // To customize application configuration such as set high DPI settings or default font,
  13. // see https://aka.ms/applicationconfiguration.
  14. ApplicationConfiguration.Initialize();
  15. var configer = (new ConfigurationBuilder()).AddJsonFile("options.json").Build();
  16. HKLib.Configer.SaasRoute = configer["SaasRoute"];
  17. HKLib.Configer.MqAddress = configer["MQ"];
  18. HKLib.Configer.TenantId = configer["TenantId"];
  19. Application.Run(new Form1());
  20. }
  21. }
  22. }