protected override void OnGiveFeedback(GiveFeedbackEventArgs e)
        {
            MultiPanePageDesigner aDsgn_Sel = GetSelectedPageDesigner();

            if (aDsgn_Sel != null)
            {
                aDsgn_Sel.InternalOnGiveFeedback(e);
            }
        }
        protected override void OnDragLeave(EventArgs theArgs)
        {
            MultiPanePageDesigner aDsgn_Sel = GetSelectedPageDesigner();

            if (aDsgn_Sel != null)
            {
                aDsgn_Sel.InternalOnDragLeave(theArgs);
            }
        }
        protected override void OnDragOver(DragEventArgs theDragEvents)
        {
            MultiPaneControl aCtl = DesignedControl;
            Point            pt   = aCtl.PointToClient(new Point(theDragEvents.X, theDragEvents.Y));

            if (!aCtl.DisplayRectangle.Contains(pt))
            {
                theDragEvents.Effect = DragDropEffects.None;
            }
            else
            {
                MultiPanePageDesigner aDsgn_Sel = GetSelectedPageDesigner();
                if (aDsgn_Sel != null)
                {
                    aDsgn_Sel.InternalOnDragOver(theDragEvents);
                }
            }
        }
        private MultiPanePageDesigner GetSelectedPageDesigner()
        {
            MultiPanePage aSelPage = mySelectedPage;

            if (aSelPage == null)
            {
                return(null);
            }

            MultiPanePageDesigner aDesigner = null;

            IDesignerHost aSrv = (IDesignerHost)GetService(typeof(IDesignerHost));

            if (aSrv != null)
            {
                aDesigner = (MultiPanePageDesigner)aSrv.GetDesigner(aSelPage);
            }

            return(aDesigner);
        }