2 years ago
#37216

Arash Jalali
how to change current culture of class library (dll)
i have a dll that it have a form and this form support two language (with loacalizable,language property).
and after that i add our dll to the main project and call the form from dll. the language of the form still in the default mode.
I must say that I set the value of the CurrentCulture and CurrentUICulture in the program.cs as follows :
Thread.CurrentThread.CurrentCulture = new CultureInfo("ar-IQ");
Thread.CurrentThread.CurrentUICulture = new CultureInfo("ar-IQ");
Q: how i can change the defualt culture of the form from outside a dll or into dll but programically?
please anyone help me.
Thanks
c#
visual-studio
localization
multilingual
currentuiculture
c#
visual-studio
localization
multilingual
currentuiculture
0 Answers
Your Answer