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

            using(var game = new ShaderCompilerGame())
            {
                var form = new Form1(game.Data);
                form.Show();

                game.IsMouseVisible = true;
                game.Run(form.RenderControl);
            }
        }
示例#2
0
        static void Main()
        {
            Application.EnableVisualStyles();
            Application.SetCompatibleTextRenderingDefault(false);

            using (var game = new ShaderCompilerGame())
            {
                var form = new Form1(game.Data);
                form.Show();

                game.IsMouseVisible = true;
                game.Run(form.RenderControl);
            }
        }