The following code successfully executes when the user changes the
language in Windows Regional Settings.
I didn't manage to refresh the controls on the interface to show the new
language.
thanks,
SystemEvents.UserPreferenceChanged += new
UserPreferenceChangedEventHandler(userPreferencesChanged);
private void userPreferencesChanged(object sender,
UserPreferenceChangedEventArgs e)
{
switch(e.Category)
{
case UserPreferenceCategory.Locale:
MessageBox.Show("Changed locale");
this.Refresh();
break;
default:
MessageBox.Show(e.Category.ToString());
break;
}
*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!