简体   繁体   中英

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?

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

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM