using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using System.Windows.Forms; namespace SchedulerTool { static class Program { /// /// The main entry point for the application. /// [STAThread] static void Main(string[] args) { Application.EnableVisualStyles(); Application.SetCompatibleTextRenderingDefault(false); new frmScheduler(args); //Application.Run(); if (Application.MessageLoop) Application.Exit(); else Environment.Exit(1); } } }