public ViewportController()
 {
     view = new Viewport(this);
     InitializeContextMenu();
 }
예제 #2
0
 public void SetViewport(Viewport viewport)
 {
     pnlViewport.Controls.Add(viewport);
     viewport.Dock = DockStyle.Fill;
 }