This example shows how to dock a panel in code using the methods provided by the DockLayoutManager.DockController object.
In the Button1_Click event handler, a panel is docked to another panel forming a split container (two panels are displayed side by side). In the Button2_Click event handler, a panel is docked to another panel forming a tabbed group.