static void Main() { Application.EnableVisualStyles(); Application.SetCompatibleTextRenderingDefault(false); if (!IsApplicationAlreadyRunning()) { GrowlTrayAppContext context = new GrowlTrayAppContext(); if (context.Start()) { Application.Run(context); } } }