using System; using System.Windows.Forms; namespace ScpServer { static class Program { /// /// The main entry point for the application. /// [STAThread] static void Main() { System.Runtime.GCSettings.LatencyMode = System.Runtime.GCLatencyMode.LowLatency; try { System.Diagnostics.Process.GetCurrentProcess().PriorityClass = System.Diagnostics.ProcessPriorityClass.High; } catch { // Ignore problems raising the priority. } Application.EnableVisualStyles(); Application.SetCompatibleTextRenderingDefault(false); Application.Run(new ScpForm()); } } }