private void Begin3DMapMode() { CGameView = new Controls.View._3D.GameView3D(); CGameView.Show(this.dockPanel1, WeifenLuo.WinFormsUI.Docking.DockState.Document); CGraphTree = new Controls.Graph._3D.Graph3D(); CGraphTree.Show(this.dockPanel1, WeifenLuo.WinFormsUI.Docking.DockState.DockLeft); GGraph = new GameGraph3D(); CGraphTree.SetGameGraph(GGraph); CGameView.BindView(); var gv3d = CGameView as Controls.View._3D.GameView3D; var g = gv3d.GGraph3D; var quad = TrinityEngine.Gen.GeoGen.Quad(100, 100); g.AddNode(quad); }