private void barCheckItem2_CheckedChanged(object sender, DevExpress.XtraBars.ItemClickEventArgs e) { if (barCheckItem2.Checked) { barCheckItem1.Checked = !barCheckItem2.Checked; User.Language = barCheckItem2.Tag.ToString(); LanguageHelp.ReLoadLanguage(); LanguageHelp.InitControlLanguage(this); Form[] mdiChildren = this.MdiChildren; foreach (var child in mdiChildren) { var form = child as FormPatientEdit; if (form != null) { form.Close(); LoadMdiForm(this, typeof(FormPatientEdit)); } else { LanguageHelp.InitControlLanguage(child); } child.Refresh(); } SaveLanguage(User.Language); } }
private void VideoSettingWifi_Shown(object sender, EventArgs e) { LanguageHelp.InitControlLanguage(this); }
private void FrmItemDetail_Shown(object sender, EventArgs e) { LanguageHelp.InitControlLanguage(this); }
private void WifiPassword_Shown(object sender, EventArgs e) { LanguageHelp.InitControlLanguage(this); }
private void FormPatientEdit_Shown(object sender, EventArgs e) { LanguageHelp.InitControlLanguage(this); 除ToolStripMenuItem.Text = GetText(除ToolStripMenuItem.Tag.ToString()); }
private void FormToothMap2_Shown(object sender, EventArgs e) { LanguageHelp.InitControlLanguage(this); }
private void ChannelChoose_Shown(object sender, EventArgs e) { LanguageHelp.InitControlLanguage(this); }
private void ReportViewerDialog_Shown(object sender, EventArgs e) { LanguageHelp.InitControlLanguage(this); }
private void FormHistory_Shown(object sender, EventArgs e) { LanguageHelp.InitControlLanguage(this); }
private void MainForm_Shown(object sender, EventArgs e) { LanguageHelp.InitControlLanguage(this); }
private void AboutBox_Shown(object sender, EventArgs e) { LanguageHelp.InitControlLanguage(this); }