示例#1
0
 public void Run(Viewport viewport)
 {
     Add(viewport);
     Run();
 }
示例#2
0
 public void Add(Viewport renderer)
 {
     _views.Add(renderer.RenderTarget, renderer);
     renderer.RenderTarget.TargetClosing += OnRenderTargetClosing;
     renderer.RenderTarget.TargetClosed += OnRenderTargetClosed;
     renderer.CreateBrowser();
 }