You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
23 lines
545 B
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();
|
|
|
|
}
|
|
}
|
|
|