sl@18: using System; sl@18: using System.Collections.Generic; sl@18: using System.Linq; sl@18: using System.Threading.Tasks; sl@18: using System.Windows.Forms; sl@18: sl@18: namespace SharpDisplayClient sl@18: { sl@25: static public class Program sl@18: { sl@18: /// sl@18: /// The main entry point for the application. sl@18: /// sl@18: [STAThread] sl@25: static public void Main() sl@18: { sl@27: //Set high priority to our process to avoid lags when rendering to our screen sl@27: System.Diagnostics.Process.GetCurrentProcess().PriorityClass = System.Diagnostics.ProcessPriorityClass.AboveNormal; sl@27: sl@18: Application.EnableVisualStyles(); sl@18: Application.SetCompatibleTextRenderingDefault(false); sl@31: Application.Run(new MainForm()); sl@18: } sl@18: } sl@18: }