private void buildGui_Internal(Control topPanel) { //buildGui(this); //var topPanel = this;//this.add_Panel(); //topPanel.insert_Below<Panel>(100).add_LogViewer(); MainDockingManager = topPanel.add_DockingManager(); MainResizingPanel = MainDockingManager.add_ResizingPanel(); MainResizingPanel.add_DockablePane(); // don't understand why I need to add this so that the SetResizeWidth works //var dockablePane = MainResizingPanel.add_DockablePane(); //dockablePane.resizeWidth(200); //LeftMenuDockableContent = dockablePane.add_DockableContent("Commands","Commands"); MainDocumentPane = MainResizingPanel.add_DocumentPane(); }