private void mnu_Language_Clicked(object sender, EventArgs e) { foreach (ToolStripMenuItem item in mnu_Language.DropDownItems) { item.Checked = false; } if (sender == mnu_SimpleChinese) { mnu_SimpleChinese.Checked = true; AppSettings.CurrentSetting.Language = "zh-Hans"; } else if (sender == mnu_TraditionalChinese) { mnu_TraditionalChinese.Checked = true; AppSettings.CurrentSetting.Language = "zh-Hant"; } else if (sender == mnu_English) { mnu_English.Checked = true; AppSettings.CurrentSetting.Language = "en"; } System.Globalization.CultureInfo cli = new System.Globalization.CultureInfo(AppSettings.CurrentSetting.Language); if (System.Threading.Thread.CurrentThread.CurrentUICulture != cli) { System.Threading.Thread.CurrentThread.CurrentUICulture = cli; System.Threading.Thread.CurrentThread.CurrentCulture = cli; ResourceUtil.ApplyResource(this); this.lblOperator.Text = string.Format(Resource1.FrmOfflineCardPaying_lblOperator, OperatorInfo.CurrentOperator.OperatorName); this.lblStation.Text = string.Format(Resource1.FrmOfflineCardPaying_lblStation, WorkStationInfo.CurrentStation.StationName); this.lblStartFrom.Text = string.Format(Resource1.FrmOfflineCardPaying_lblStartFrom, _StartFrom.ToString("yyyy-MM-dd HH:mm:ss")); lblEventServiceStatus.Text = AppSettings.CurrentSetting.EnableWriteCard ? Resource1.EnableWriteCard : string.Empty; } }