المساعد الشخصي الرقمي

مشاهدة النسخة كاملة : Active UICulture in setup rpoject



C# Programming
11-12-2009, 02:20 PM
I have a new windows application project using C# and I make setup project.
In the windows application project I have MDIParent as Main Form and i write this code to change the ******** from English to Arabic:

System.Threading.Thread.CurrentThread.CurrentCulture = new System.Globalization.CultureInfo("ar-EG");
System.Threading.Thread.CurrentThread.CurrentUICulture = new System.Globalization.CultureInfo("ar-EG");
this.Controls.Clear();
this.InitializeComponent();

this method is fine when i run the application.
but when i install the setup project this method not change any thing.
i need help about this problem.
thanks
wael salem