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); }
public CL2K17Controller(CL2K17MainView pMainView) { this.MainView = pMainView; this.Viewer3D = new CL2K17Viewer3D(this.MainView.getDrawSurface()); //this.Viewer3D.Run(); }