static void Main() { Application.EnableVisualStyles(); Application.SetCompatibleTextRenderingDefault(false); Model.Configuration.Config.Initialize(); View.MainForm M = new View.MainForm(); Controller.Controller C = new Controller.Controller(); M.OpenSettingsForm += new View.OpenSettingsFormHandler(C.OpenSettingsForm); Application.Run(M); }