Dock the given tool window inside the dock container.
This method assume that tool window is not null. A
If the dock mode is None or is not Left, Right, Top, Bottom or Fill, then the tool window is floating.
Here is a sample of how to use this method. It will add a form to the dock container with initial docking on Left.
private void OnCreateNewToolWindowDockedLeft (object sender, EventArgs e)
{
// Create a new instance of the child form.
DockableToolWindow childForm = new DockableToolWindow ();
// Add and dock the form in the left panel of the container
_dockContainer1.DockToolWindow (childForm, zDockMode.Left);
// Show the form
childForm.Show ();
}
DockContainer Class | Crom.Controls Namespace