PortProxyGUI/PortProxyGUI - NET35/Program.cs

25 lines
621 B
C#
Raw Normal View History

2021-03-10 01:12:07 +08:00
using PortProxyGUI.Data;
using System;
2022-02-23 00:41:01 +08:00
using System.Drawing;
2020-05-29 03:32:44 +08:00
using System.Windows.Forms;
namespace PortProxyGUI
{
static class Program
{
2021-03-10 01:12:07 +08:00
public static readonly ApplicationDbScope SqliteDbScope = ApplicationDbScope.UseDefault();
2020-05-29 03:32:44 +08:00
/// <summary>
/// The main entry point for the application.
/// </summary>
[STAThread]
static void Main()
{
2021-03-10 01:12:07 +08:00
SqliteDbScope.Migrate();
2020-05-29 03:32:44 +08:00
Application.EnableVisualStyles();
Application.SetCompatibleTextRenderingDefault(false);
Application.Run(new PortProxyGUI());
}
}
}