123456789101112131415161718192021222324 |
- using System;
- using System.Windows.Forms;
- namespace quick_color_picker
- {
- static class Program
- {
- [STAThread]
- static void Main()
- {
- 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();
- }
- }
|