예제 #1
0
        private MultiPaneControlDesigner GetParentControlDesigner()
        {
            MultiPaneControlDesigner designer = null;

            if ((this.Control != null) && (this.Control.Parent != null))
            {
                IDesignerHost service = (IDesignerHost)this.GetService(typeof(IDesignerHost));
                if (service != null)
                {
                    designer = (MultiPaneControlDesigner)service.GetDesigner(this.Control.Parent);
                }
            }
            return(designer);
        }
예제 #2
0
 public frmSwitchPages(MultiPaneControlDesigner theDesigner)
 {
     this.myDesigner = theDesigner;
     this.InitializeComponent();
 }
예제 #3
0
 public frmSwitchPages(MultiPaneControlDesigner theDesigner)
 {
     this.myDesigner = theDesigner;
     this.InitializeComponent();
 }