Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

app.config globalization

web.config allow a globalization tag: This setting will set the globalization for the entire ASP.NET application.

Does this tag work in app.config in standard forms applications too? If yes... where shall it be placed?


Or.. is there another way to set the globalization for the entire forms application. Including dll's and all threads?

like image 665
thomas nn Avatar asked Aug 12 '09 11:08

thomas nn


1 Answers

take a look at the following topic: How to: Set the Culture and UI Culture for Windows Forms Globalization

To set the Culture to the Main Application use the following snippet code:

Dim newCulture As CultureInfo = new CultureInfo("fr-FR")
CurrentThread.CurrentCulture = newCulture
like image 86
Wael Dalloul Avatar answered Sep 19 '22 17:09

Wael Dalloul