public override string GetUrl(string word, LangPair langPair) { if (langPair.From == "de") { return(base.GetUrl(word, LangPair.Revert(langPair))); } return(base.GetUrl(word, langPair)); }
private void btReverse_Click(object sender, EventArgs e) { CurrentLangInfo.LanguageDirection = LangPair.Revert(CurrentLangInfo.LanguageDirection); BackFocusForTyping(); }