ARCed.UI.DockPanel.MdiClient_Layout C# (CSharp) Method

MdiClient_Layout() private method

private MdiClient_Layout ( object sender, System.Windows.Forms.LayoutEventArgs e ) : void
sender object
e System.Windows.Forms.LayoutEventArgs
return void
        private void MdiClient_Layout(object sender, LayoutEventArgs e)
        {
            if (this.DocumentStyle != DocumentStyle.DockingMdi)
                return;

            foreach (DockPane pane in this.Panes)
                if (pane.DockState == DockState.Document)
                    pane.SetContentBounds();

            this.InvalidateWindowRegion();
        }