repo time

Dependencies:   mbed MAX14720 MAX30205 USBDevice

HspGuiSourceV301/HSPGui/Program.cs

Committer:
darienf
Date:
2021-04-06
Revision:
20:6d2af70c92ab

File content as of revision 20:6d2af70c92ab:

using System;
using System.Collections.Generic;
using System.Linq;
using System.Windows.Forms;

namespace HealthSensorPlatform
{
    static class Program
    {
        /// <summary>
        /// The main entry point for the application.
        /// </summary>
        [STAThread]
        static void Main()
        {
            if (Environment.OSVersion.Version.Major >= 6)
                SetProcessDPIAware();

            Application.EnableVisualStyles();
            Application.SetCompatibleTextRenderingDefault(false);
            Application.Run(new HspForm());
        }

        [System.Runtime.InteropServices.DllImport("user32.dll")]
        private static extern bool SetProcessDPIAware();
    }
}