23 lines
545 B

using System;
using System.Windows.Forms;
namespace Apewer.Tray
{
class Program
{
[STAThread]
static void Main(string[] args)
{
if (Environment.OSVersion.Version.Major >= 6) SetProcessDPIAware();
Application.EnableVisualStyles();
Application.SetCompatibleTextRenderingDefault(false);
Application.Run(new MainForm());
}
[System.Runtime.InteropServices.DllImport("user32.dll")]
private static extern bool SetProcessDPIAware();
}
}