Esempio n. 1
0
        /// <summary>
        /// Constructor.
        /// </summary>
        public SplitComponentContainer(
            SplitPane pane1,
            SplitPane pane2,
            SplitOrientation splitOrientation)
        {
            this.Pane1 = pane1;
            this.Pane2 = pane2;

            _splitOrientation = splitOrientation;
        }
        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);
        }
 private ATSWebBrowserContainer(SplitPane pane1, SplitPane pane2)
     : base(pane1, pane2, SplitOrientation.Vertical)
 {
 }
Esempio n. 4
0
 internal SplitPaneHost(SplitComponentContainer owner,
                        SplitPane pane)
     : base(owner, pane.Component)
 {
 }