using System; using System.Collections.Generic; using System.Windows.Forms; namespace CyControl { static class Program { /// /// The main entry point for the application. /// [STAThread] static void Main() { Application.EnableVisualStyles(); Application.SetCompatibleTextRenderingDefault(false); try { Application.Run(new Form1()); } catch (Exception e) { MessageBox.Show(e.StackTrace, "Exception '" + e.Message + "' thrown by " + e.Source); } } } }