How to make the application specific state in WinForms?
By default, the persisted info of Suite Controls is scoped by the User, Domain, and Assembly. You can also include Roaming capabilities as follows in the Main method of your app or in your Form’s constructor. Take a look at the class reference for more information.
[C#] // This method should be called in the very beginning of the app, before // any controls get initialized.AppStateSerializer.InitializeSingleton(SerializeMode.IsolatedStorage, "SyncfusionToolsStateInfo", IsolatedStorageScope.Assembly | IsolatedStorageScope.Domain | IsolatedStorageScope.User | IsolatedStorageScope.Roaming); [VB.NET] ’ This method should be called in the very beginning of the app, before ’ any controls get initialized.AppStateSerializer.InitializeSingleton(SerializeMode.IsolatedStorage, "SyncfusionToolsStateInfo", IsolatedStorageScope.Assembly | IsolatedStorageScope.Domain | IsolatedStorageScope.User | IsolatedStorageScope.Roaming)
Conclusion
I hope you enjoyed learning about how to make the application specific state in WinForms.
You can refer to our WinForms feature tour page to know about its other groundbreaking feature representations and documentation, and how to quickly get started for configuration specifications. You can also explore our WinForms example to understand how to create and manipulate data.
For current customers, you can check out our components from the License and Downloads page. If you are new to Syncfusion, you can try our 30-day free trial to check out our other controls.
If you have any queries or require clarifications, please let us know in the comments section below. You can also contact us through our support forums, Direct-Trac, or feedback portal. We are always happy to assist you!