Files

32 lines
949 B
C#
Raw Permalink Normal View History

2022-10-09 12:22:57 +09:00
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using System.Windows.Forms;
namespace Cheongbuk_MegaPark_Key_Management
{
static class Program
{
/// <summary>
/// 해당 애플리케이션의 주 진입점입니다.
/// </summary>
[STAThread]
static void Main()
{
LicenseChecker licenseChecker = new LicenseChecker();
bool licenseResult = licenseChecker.CheckLicense();
if(!licenseResult)
{
MessageBox.Show("A very crtical fatal error has occurred.\r\nContact your administrator.", "Crtical Fata Error", MessageBoxButtons.OK, MessageBoxIcon.Error);
return;
}
2022-10-09 12:22:57 +09:00
Application.EnableVisualStyles();
Application.SetCompatibleTextRenderingDefault(false);
Application.Run(new MainForm());
}
}
}