WinForm程式實做多語系

//http://www.dotblogs.com.tw/yc421206/archive/2011/02/21/21482.aspx 
//http://www.wretch.cc/blog/bigdstut/15822510

string language = this.Input_Language.SelectedValue.ToString();
System.Threading.Thread.CurrentThread.CurrentUICulture = new System.Globalization.CultureInfo(language);
ResourceManager rm = new ResourceManager("PrimeEagle.Leeder.GPSViewer.Form_Setting", Assembly.GetExecutingAssembly());

this.Label_UTCTime.Text = rm.GetString("Label_UTCTime.Text");
this.Label_Heading.Text = rm.GetString("Label_Heading.Text");
this.Label_Rateofturn.Text = rm.GetString("Label_Rateofturn.Text");
this.Label_Speed.Text = rm.GetString("Label_Speed.Text");
this.GroupBox_Position.Text = rm.GetString("GroupBox_Position.Text");
this.Button_DefaultPosition.Text = rm.GetString("Button_DefaultPosition.Text");

留言