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