| 123456789101112131415161718192021222324252627282930 |
- using System;
- using System.Collections.Generic;
- using System.Linq;
- using System.Threading.Tasks;
- using System.Windows.Forms;
- namespace UAS_MES_Tools
- {
- internal static class Program
- {
- /// <summary>
- /// 应用程序的主入口点。
- /// </summary>
- [STAThread]
- static void Main()
- {
- Application.EnableVisualStyles();
- Application.SetCompatibleTextRenderingDefault(false);
- using (Login loginForm = new Login())
- {
- DialogResult result = loginForm.ShowDialog();
- if (result == DialogResult.OK)
- {
- Main mainForm = new Main(loginForm._Account, loginForm._Password);
- Application.Run(mainForm);
- }
- }
- }
- }
- }
|