Malherbe

Malherbe

  • NA
  • 1
  • 0

Win Form application with Multilanguage features

Mar 14 2007 6:55 AM
Hi to you all,

I created a winform application with multilanguage resource files.
On this form there is a button "Change language" that changes the language.

In runtime :

When I click the button nothing happens.
But...It does work when I open a new window in my application.

How can you make it so that the language change takes immediate effect ?
So also on the form that has the button "Change language".

I use the following code to change the language

In event handler method of the button on click :

Thread.CurrentThread.CurrentUICulture = new CultureInfo(cult);

Thread.CurrentThread.CurrentCulture = CultureInfo.CreateSpecificCulture(cult);

Kind Regards and thanks