CultureInfo objCI = new CultureInfo("en-US");
Thread.CurrentThread.CurrentCulture = objCI;
Thread.CurrentThread.CurrentUICulture = objCI;
//localization code
this.Controls.Clear();
System.Threading.Thread.CurrentThread.CurrentUICulture = new System.Globalization.CultureInfo("en-US");
InitializeComponent();
this.lbTime.Text = DateTime.Now.ToLongDateString().ToString();
沒有留言:
張貼留言