public ToolController(ToolStripItemCollection collection, Viewport viewport, Project project) { Tools = collection; Viewport = viewport; Viewport.Input.MouseClick += ViewportClick; Project = project; }
// MainPanel private void InitGUIMainViewport() { GUIMainViewport = new Viewport(CurrentProject); GUIMainViewport.Dock = DockStyle.Fill; GUIMainViewport.BorderStyle = BorderStyle.Fixed3D; }