I’m having trouble trying to remove a Form from this Dock Container once I used the dockContainer.Add(form) and later the dockContainer.Remove(dockableFormInfo) and when I make it show itself using form.Show(), it wont show up at all.
Looking trough the properties it shows that the form is actually visible = true, but even though the dockable control that uses the Form was removed from the Container, my thoughts are that it still used the Form resources and thus I am unable to make it appear outside the control.
How can I make the Form show up?
Problem solved, first thanks to Hans Passant for the TopLevel tip.
After removing from the docking container, just set TopLevel to true!
Here is the test code: