static void Main()
        {
            Application.EnableVisualStyles();
            Application.SetCompatibleTextRenderingDefault(false);

            if (!IsApplicationAlreadyRunning())
            {
                GrowlTrayAppContext context = new GrowlTrayAppContext();
                if (context.Start())
                {
                    Application.Run(context);
                }
            }
        }
Пример #2
0
        static void Main()
        {
            Application.EnableVisualStyles();
            Application.SetCompatibleTextRenderingDefault(false);

            if (!IsApplicationAlreadyRunning())
            {
                GrowlTrayAppContext context = new GrowlTrayAppContext();
                if (context.Start())
                {
                    Application.Run(context);
                }
            }
        }