private void btnLanguageSelect_Click(object sender, System.EventArgs e) { bool res = tclm.ShowLanguageSelectionDialog(this); if (res == true && LocalMenu != null) { LocalMenu.SetFKeyText(); } }
/// <summary> /// Lets users select a language. /// </summary> public void LanguageDialog() { if (tclm != null) { bool res = tclm.ShowLanguageSelectionDialog(this); if (res == true && LocalMenu != null) { LocalMenu.SetFKeyText(); } } }
private void FKey1UpEvent(int nIdx) { if (String.Compare(tcFKeyLanguage.FKeyText(nIdx), aktuelleSprachversion, true) != 0) { tclm.Sprache = tclm.Translate(tcFKeyLanguage.FKeyText(nIdx), tclm.Sprache, "DEUTSCH"); tclm.SaveAllChanges(); // set the right language for the text of the function keys if (LocalMenu != null) { LocalMenu.SetFKeyText(); } } else { this.DialogResult = DialogResult.Cancel; } }