HaoYueTunnel/Client-GUI/Program.cs
2024-04-26 17:51:55 +08:00

28 lines
733 B
C#

using ClientCore;
namespace Client_GUI
{
internal static class Program
{
/// <summary>
/// The main entry point for the application.
/// </summary>
[STAThread]
static void Main()
{
// To customize application configuration such as set high DPI settings or default font,
// see https://aka.ms/applicationconfiguration.
ApplicationConfiguration.Initialize();
LoginUI loginUI = new LoginUI();
loginUI.ShowDialog();
if (!StaticComm.bClickLogin)
{
Application.Exit();
return;
}
Application.Run(new MainUI());
}
}
}