Ejemplo n.º 1
0
 /// <summary>
 /// This PropChanged detects a needed UI update.  See LT-9002.
 /// </summary>
 public void PropChanged(int hvo, int tag, int ivMin, int cvIns, int cvDel)
 {
     if (m_flid == (int)PartOfSpeech.PartOfSpeechTags.kflidDefaultInflectionClass &&
         cvIns == 0 && cvDel > 0 &&
         (tag == (int)PartOfSpeech.PartOfSpeechTags.kflidInflectionClasses ||
          tag == (int)MoInflClass.MoInflClassTags.kflidSubclasses) &&
         (m_obj as PartOfSpeech).DefaultInflectionClassRAHvo == 0)
     {
         AtomicReferenceLauncher arl = (AtomicReferenceLauncher)this.Control;
         arl.UpdateDisplayFromDatabase();
     }
 }
Ejemplo n.º 2
0
        protected override void UpdateDisplayFromDatabase()
        {
            AtomicReferenceLauncher arl = (AtomicReferenceLauncher)this.Control;

            arl.UpdateDisplayFromDatabase();
        }