Program.cs 658 B

12345678910111213141516171819202122232425262728
  1. using DllPubInfo;
  2. using System;
  3. using System.Collections.Generic;
  4. using System.Linq;
  5. using System.Threading.Tasks;
  6. using System.Windows.Forms;
  7. namespace EapMainFrame
  8. {
  9. static class Program
  10. {
  11. /// <summary>
  12. /// 应用程序的主入口点。
  13. /// </summary>
  14. [STAThread]
  15. static void Main()
  16. {
  17. Application.EnableVisualStyles();
  18. Application.SetCompatibleTextRenderingDefault(false);
  19. Login temp = new Login();
  20. temp.ShowDialog();
  21. if (PubInfo.islogin)
  22. {
  23. Application.Run(new MainFrame());
  24. }
  25. }
  26. }
  27. }