Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
945
Save and load MDI state
posted

I am trying to save the MDI state when closing the application and load it when opening.
Like FireFox, it opens all the web pages last time when you close the application.

I've noticed that UltraTabbedMdiManager have methods like SaveAsXml and LoadFromXml.
What is contained in the saved XML file?

What do I need to do if I want to open the last visited pages like FireFox?

Thanks.
Mike
 

Parents
No Data
Reply
  • 44743
    posted

    The XML file will contain all properties and values which are publicly exposed in the tabbed mdi manager. It is intended to save customizations the user might have made, through both the default UI, as well as any additional UI you have added to your application to give the user control over certain aspects of the tabbed mdi manager.  One of the reasons to save and load this file would be to maintain the tab groups into which the user has organized the mdi child forms. However, loading the XML file will not open the forms which were previously opened. You must keep track of which forms were open when the XML file was saved and re-open them before loading the XML file.

Children