Tech
Forums
Jobs
Books
Events
Videos
Conference
Annual Conference
Bcrypt
Ai Conference
Live
More
Interviews
Certification
Training
Career
Members
News
Blogs
Contribute
An Article
A Blog
A Video
An Ebook
An Interview Question
Register
Login
0
Answer
Win Form application with Multilanguage features
Ask a question
Ask a question
Upload Source Code:
Select only zip and rar file.
Malherbe
17y
3.8k
1
Reply
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
Post
Reset
Cancel
Answers (
0
)
Next Recommended Forum
How to display an OpenFileDialog when changing a property in a PropertyGrid?
Image transfer between two machines