You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

33 lines
1010 B
C#

using GeoSigmaDrawLib;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using System.Windows.Forms;
namespace LibTest
{
static class Program
{
/// <summary>
/// 应用程序的主入口点。
/// </summary>
[STAThread]
static void Main()
{
//AppDomain.CurrentDomain.UnhandledException += CurrentDomain_UnhandledException;
LicenseInfo license = Security.CurentLicenseInfo;
Application.EnableVisualStyles();
Application.SetCompatibleTextRenderingDefault(false);
// Application.Run(new FormMain());
Application.Run(new FrmDatabaseIO());
}
private static void CurrentDomain_UnhandledException(object sender, UnhandledExceptionEventArgs e)
{
Console.WriteLine("有未经处理的异常,程序即将退出!");
//Thread.Sleep(5000);
Environment.Exit(-1);
}
}
}