Client/Program.cs
author sl
Wed, 20 Aug 2014 18:02:30 +0200
changeset 38 babab407f2bb
parent 27 9c49c04fc620
child 106 32270ff62819
permissions -rw-r--r--
Adding Design tab.
     1 using System;
     2 using System.Collections.Generic;
     3 using System.Linq;
     4 using System.Threading.Tasks;
     5 using System.Windows.Forms;
     6 
     7 namespace SharpDisplayClient
     8 {
     9     static public class Program
    10     {
    11         /// <summary>
    12         /// The main entry point for the application.
    13         /// </summary>
    14         [STAThread]
    15         static public void Main()
    16         {
    17             //Set high priority to our process to avoid lags when rendering to our screen
    18             System.Diagnostics.Process.GetCurrentProcess().PriorityClass = System.Diagnostics.ProcessPriorityClass.AboveNormal;
    19 
    20             Application.EnableVisualStyles();
    21             Application.SetCompatibleTextRenderingDefault(false);
    22             Application.Run(new MainForm());
    23         }
    24     }
    25 }