Exemplo n.º 1
0
 /// ------------------------------------------------------------------------------------
 /// <summary>
 /// This method implements the FindInDictionary menu item. It is called using
 /// reflection by xCore, not directly.
 /// </summary>
 /// <param name="args"></param>
 /// <returns></returns>
 /// ------------------------------------------------------------------------------------
 protected bool OnFindInDictionary(object args)
 {
     LexEntryUi.DisplayEntries(m_cache, Form.ActiveForm, m_mediator, null, null,
                               ((IWfiWordform)Object).Form.get_String(m_cache.ServiceLocator.WritingSystems.DefaultVernacularWritingSystem.Handle), null);
     return(true);
 }
Exemplo n.º 2
0
 /// ------------------------------------------------------------------------------------
 /// <summary>
 /// This method implements the FindInDictionary menu item. It is called using
 /// reflection by xCore, not directly.
 /// </summary>
 /// <param name="args"></param>
 /// <returns></returns>
 /// ------------------------------------------------------------------------------------
 protected bool OnFindInDictionary(object args)
 {
     LexEntryUi.DisplayEntries(m_cache, Form.ActiveForm, m_mediator, null, null,
                               (this.Object as WfiWordform).Form.GetAlternativeTss(m_cache.DefaultVernWs));
     return(true);
 }