We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. (Last updated on: June 24, 2019).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

How to close a dockable form

Thread ID:





8044 Oct 17,2003 12:01 PM UTC Oct 17,2003 03:29 PM UTC WinForms 1
Tags: Tools
Desis Machino
Asked On October 17, 2003 12:01 PM UTC

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. Thanks, Vikram.

Administrator [Syncfusion]
Replied On October 17, 2003 03:29 PM UTC

Hi Vikram, 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. Regards, Guru Patwal Syncfusion, Inc.


This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Please sign in to access our forum

This page will automatically be redirected to the sign-in page in 10 seconds.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon

Live Chat Icon For mobile
Live Chat Icon