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
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback


Thread ID:





24388 Feb 3,2005 08:16 AM UTC Feb 3,2005 04:41 PM UTC WinForms 1
Tags: Tools
Krijn Michiels
Asked On February 3, 2005 08:16 AM UTC

Hi, It seems that the MainFrameBarManager.SaveBarState method does not save custom added toolbars to the AppState. Is this correct ? Thanks

Administrator [Syncfusion]
Replied On February 3, 2005 04:41 PM UTC

Hi Krijn, Saving the bar customization is handled by LoadBarCustomization and SaveBarCustomization. However, those methods are protected so you''ll need to extend MainFrameBarManager to access them. The following code snippet demonstrates this: public class CustomMainFrameBarManager : MainFrameBarManager { public CustomMainFrameBarManager () : base() { } public CustomMainFrameBarManager(Form f): base(f) { } public CustomMainFrameBarManager(IContainer c,Form f): base(c, f) { } public void LoadBarCustomization (AppStateSerializer serializer) { base.LoadCustomizationInfo(serializer); } public void SaveBarCustomization(AppStateSerializer serializer) { base.SaveCustomizationInfo(serializer); } } Regards, Gregory Austin 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