28 lines
733 B
C#
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());
|
||
|
}
|
||
|
}
|
||
|
}
|