ARCed.UI.DockContentHandler.Show C# (CSharp) Method

Show() private method

private Show ( DockPanel dockPanel, Rectangle floatWindowBounds ) : void
dockPanel DockPanel
floatWindowBounds System.Drawing.Rectangle
return void
        public void Show(DockPanel dockPanel, Rectangle floatWindowBounds)
        {
            if (dockPanel == null)
                throw (new ArgumentNullException(Strings.DockContentHandler_Show_NullDockPanel));

            dockPanel.SuspendLayout(true);

            this.DockPanel = dockPanel;
            if (this.FloatPane == null)
            {
                this.IsHidden = true;	// to reduce the screen flicker
                this.FloatPane = this.DockPanel.DockPaneFactory.CreateDockPane(this.Content, DockState.Float, false);
                this.FloatPane.FloatWindow.StartPosition = FormStartPosition.Manual;
            }

            this.FloatPane.FloatWindow.Bounds = floatWindowBounds;

            this.Show(dockPanel, DockState.Float);
            this.Activate();

            dockPanel.ResumeLayout(true, true);
        }

Same methods

DockContentHandler::Show ( ) : void
DockContentHandler::Show ( DockPane previousPane, DockAlignment alignment, double proportion ) : void
DockContentHandler::Show ( DockPane pane, IDockContent beforeContent ) : void
DockContentHandler::Show ( DockPanel dockPanel ) : void
DockContentHandler::Show ( DockPanel dockPanel, DockState dockState ) : void