Exemple #1
0
        static void Main()
        {
            Application.EnableVisualStyles();
            Application.SetCompatibleTextRenderingDefault(false);

            //For some reason the glow has to be initialized outside of the parent form
            TestForm form = new TestForm();
            MetroFormGlow glow = new MetroFormGlow(form);
            form.glow = glow;
            glow.Show();

            Application.Run(form);
        }
Exemple #2
0
        static void Main()
        {
            Application.EnableVisualStyles();
            Application.SetCompatibleTextRenderingDefault(false);

            //For some reason the glow has to be initialized outside of the parent form
            TestForm      form = new TestForm();
            MetroFormGlow glow = new MetroFormGlow(form);

            form.glow = glow;
            glow.Show();

            Application.Run(form);
        }