43 lines
1.1 KiB
C#
43 lines
1.1 KiB
C#
|
using System;
|
|||
|
using System.Collections.Generic;
|
|||
|
using System.Linq;
|
|||
|
using System.Threading.Tasks;
|
|||
|
using System.Windows.Forms;
|
|||
|
|
|||
|
namespace YSDetection
|
|||
|
{
|
|||
|
internal static class Program
|
|||
|
{
|
|||
|
/// <summary>
|
|||
|
/// 应用程序的主入口点。
|
|||
|
/// </summary>
|
|||
|
[STAThread]
|
|||
|
static void Main()
|
|||
|
{
|
|||
|
Application.EnableVisualStyles();
|
|||
|
Application.SetCompatibleTextRenderingDefault(false);
|
|||
|
|
|||
|
Application.Run(new MainForm());
|
|||
|
|
|||
|
//Application.EnableVisualStyles();
|
|||
|
//Application.SetCompatibleTextRenderingDefault(false);
|
|||
|
//Application.Run(new Login());
|
|||
|
//Login login = new Login();
|
|||
|
|
|||
|
////界面转换
|
|||
|
//login.ShowDialog();
|
|||
|
|
|||
|
//if (login.DialogResult == DialogResult.OK)
|
|||
|
//{
|
|||
|
// login.Dispose();
|
|||
|
// Application.Run(new MainForm());
|
|||
|
//}
|
|||
|
//else if (login.DialogResult == DialogResult.Cancel)
|
|||
|
//{
|
|||
|
// login.Dispose();
|
|||
|
// return;
|
|||
|
//}
|
|||
|
}
|
|||
|
}
|
|||
|
}
|