Client/Program.cs
author sl
Sun, 21 Sep 2014 19:07:18 +0200
changeset 57 544132d07c3b
parent 27 9c49c04fc620
child 106 32270ff62819
permissions -rw-r--r--
Simplifying client construction.
Fixing our borders and sorting out our color issues.
Adding inverse colors options.
     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 }