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