repo time

Dependencies:   mbed MAX14720 MAX30205 USBDevice

Committer:
darienf
Date:
Tue Apr 06 06:41:40 2021 +0000
Revision:
20:6d2af70c92ab
another repo

Who changed what in which revision?

UserRevisionLine numberNew contents of line
darienf 20:6d2af70c92ab 1 using System;
darienf 20:6d2af70c92ab 2 using System.Collections.Generic;
darienf 20:6d2af70c92ab 3 using System.Linq;
darienf 20:6d2af70c92ab 4 using System.Windows.Forms;
darienf 20:6d2af70c92ab 5
darienf 20:6d2af70c92ab 6 namespace HealthSensorPlatform
darienf 20:6d2af70c92ab 7 {
darienf 20:6d2af70c92ab 8 static class Program
darienf 20:6d2af70c92ab 9 {
darienf 20:6d2af70c92ab 10 /// <summary>
darienf 20:6d2af70c92ab 11 /// The main entry point for the application.
darienf 20:6d2af70c92ab 12 /// </summary>
darienf 20:6d2af70c92ab 13 [STAThread]
darienf 20:6d2af70c92ab 14 static void Main()
darienf 20:6d2af70c92ab 15 {
darienf 20:6d2af70c92ab 16 if (Environment.OSVersion.Version.Major >= 6)
darienf 20:6d2af70c92ab 17 SetProcessDPIAware();
darienf 20:6d2af70c92ab 18
darienf 20:6d2af70c92ab 19 Application.EnableVisualStyles();
darienf 20:6d2af70c92ab 20 Application.SetCompatibleTextRenderingDefault(false);
darienf 20:6d2af70c92ab 21 Application.Run(new HspForm());
darienf 20:6d2af70c92ab 22 }
darienf 20:6d2af70c92ab 23
darienf 20:6d2af70c92ab 24 [System.Runtime.InteropServices.DllImport("user32.dll")]
darienf 20:6d2af70c92ab 25 private static extern bool SetProcessDPIAware();
darienf 20:6d2af70c92ab 26 }
darienf 20:6d2af70c92ab 27 }