Localization-related settings (for example, the culture) should be set at application startup (before control initialization). To change localization settings (for example, the language) you should restart the application. This example shows how to use the Application.Restart method to shut down the application and start a new instance immediately.
Note
Before running this example, unpack the fr.zip archive and make sure its contents are copied to the bin\Debug\fr folder.
- CultureSwitcher.cs (VB: CultureSwitcher.vb)
- Form1.cs (VB: Form1.vb)
(you will be redirected to DevExpress.com to submit your response)