If I add a form to the DockingManager and close a form that is docked to the main application, the form does not actually close (the close event for the form does not get fired).
Is it possible for me to set up DockingManager so that it informs the form to close itelf and remove itself both from the DockingManager and the application.
ADAdministrator Syncfusion Team October 17, 2003 11:29 AM
If you close a form associated with a Docking Manager, only the dock visibility of the form changes and the form does not actually close. I have attached a sample application here that shows how this can be accomplished. I have handled the DockVisibilityChanged event to close, dispose and remove the form from the Docking Manager's controls list. You could also use the 'Display Docking Manager's Controls List' button to view the Docking Manager's controls list before and after closing the child form. Please let me know if this helps. Thank you.