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. Image for the cookie policy date

XPMenusMDI sample - safe mode?

Could you provide a brief explanation of the purpose of the code in this sample that is related to running the app in "safe mode"? The code is found in the Main method and in a couple of other methods in the "Versioning" region. Thanks!

1 Reply

AD Administrator Syncfusion Team May 28, 2004 02:46 PM

The XPMenusMDI sample app keeps track of whether an instance of the appliation shutsdown properly (by turning on/off flags in the registry). And when you run the app, if it finds that the previous instance did not shutdown properly, then it will choose NOT to load any application persisted state (like menu customization, toolbar positions, etc), assuming that loading the persisted state might have caused the app to crash (of course that might not be the case). It''s more of a sample on how to implement "safe mode" in apps in general rather than having to do with menus in particular. Regards, Praveen Ramesh Syncfusion Development Team

Loader.
Live Chat Icon For mobile
Up arrow icon