示例#1
0
文件: Program.cs 项目: Devaud/CubeLed
        static void Main()
        {
            CL2K17MainView form = new CL2K17MainView();

            form.Show();
            CL2K17Viewer3D game = new CL2K17Viewer3D(form.getDrawSurface());

            form.connect(game);
            game.Run();

            /*Application.EnableVisualStyles();
             * Application.SetCompatibleTextRenderingDefault(false);
             * Application.Run(new CL2K17MainView());*/
            //Application.Run(form);
        }
示例#2
0
 public CL2K17Controller(CL2K17MainView pMainView)
 {
     this.MainView = pMainView;
     this.Viewer3D = new CL2K17Viewer3D(this.MainView.getDrawSurface());
     //this.Viewer3D.Run();
 }