Destroys the specified child panel.
A DockPanel object representing the child of the current panel which must be destroyed.
The RemovePanel method destroys the specified child of the current panel. The child panels of the specified child will be destroyed recursively. If the panel passed as this method's parameter is not the current panel's child, the RemovePanel method will do nothing.
To destroy all the panels that belong to the dock manager, you can use the DockManager.Clear method.