25 lines
662 B
C#
25 lines
662 B
C#
|
using PortProxyGUI.Data;
|
||
|
using System;
|
||
|
using System.Windows.Forms;
|
||
|
|
||
|
namespace PortProxyGUI
|
||
|
{
|
||
|
static class Program
|
||
|
{
|
||
|
public static readonly ApplicationDbScope SqliteDbScope = ApplicationDbScope.UseDefault();
|
||
|
|
||
|
/// <summary>
|
||
|
/// The main entry point for the application.
|
||
|
/// </summary>
|
||
|
[STAThread]
|
||
|
static void Main()
|
||
|
{
|
||
|
SqliteDbScope.Migrate();
|
||
|
Application.SetHighDpiMode(HighDpiMode.SystemAware);
|
||
|
Application.EnableVisualStyles();
|
||
|
Application.SetCompatibleTextRenderingDefault(false);
|
||
|
Application.Run(new PortProxyGUI());
|
||
|
}
|
||
|
}
|
||
|
}
|