Windows form globalazation

  • Thread starter Thread starter Kim Rasmussen
  • Start date Start date
K

Kim Rasmussen

Hello there,

When a Windows form change the culture, how do I refresh/redraw/recreate the
current form so the user gets the form in the newly selected culture?

Fx. changing culture from English til Danish. Then I would like to have the
Windows form change text on controls to Danish without having to restart the
whole application.


Thanks in advance,
Kim
 
Hi,

by default all of the resources are being loaded when the form initializes
(that's the InitializeComponent method)
so you need to reload the resources and set the strings one more time.

Just take 'em out into a separate method, and then execute it from your
code.

Cheers,
Branimir
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top