Exemplo n.º 1
0
        public static ATSWebBrowserContainer Create(IDesktopWindow desktopWindow)
        {
            var atsWebBrowserComponent = new ATSWebBrowserComponent();

            var aimAnnotationComponent = AimAnnotationComponent.Create(desktopWindow, true);

            aimAnnotationComponent.Preview = true;

            atsWebBrowserComponent.AimAnnotationComponent = aimAnnotationComponent;

            var leftPane  = new SplitPane(SR.TitleWebBrowserPane, atsWebBrowserComponent, 0.75f);
            var rightPane = new SplitPane(SR.TitleAimAnnotationPane, aimAnnotationComponent, 0.25f);

            return(new ATSWebBrowserContainer(leftPane, rightPane));
        }
Exemplo n.º 2
0
 public WebBrowserToolContext(ATSWebBrowserComponent component)
 {
     Platform.CheckForNullReference(component, "component");
     _component = component;
 }