コード例 #1
0
ファイル: Program.cs プロジェクト: WildGenie/Metro-Form
        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);
        }
コード例 #2
0
ファイル: Program.cs プロジェクト: ss34nirala34/Metro-Form
        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);
        }