Client/Program.cs
author sl
Tue, 14 Oct 2014 19:32:09 +0200
changeset 70 dcd2bbb90d42
parent 27 9c49c04fc620
child 106 32270ff62819
permissions -rw-r--r--
Support row and column span.
     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 }