Пример #1
0
 void m_interestingTexts_InterestingTextsChanged(object sender, InterestingTextsChangedArgs e)
 {
     if (m_rootHvo != 0)
     {
         m_interestingHvos = null;                 // recompute on next call
         SendPropChanged(m_rootHvo, kflidInterestingTexts, e.InsertedAt, e.NumberInserted, e.NumberDeleted);
     }
 }
Пример #2
0
        void m_interestingTexts_InterestingTextsChanged(object sender, InterestingTextsChangedArgs e)
        {
            m_values.Clear();             // Forget all we know about occurrences, since the texts they are based on have changed.
            int flid     = ObjectListPublisher.OwningFlid;
            var langProj = m_services.GetInstance <ILangProjectRepository>().AllInstances().First();
            int oldSize  = m_services.GetInstance <IWfiWordformRepository>().AllInstances().Count();

            ;
            // Force everything to be redisplayed by pretending all the wordforms were replaced.
            SendPropChanged(langProj.Hvo, flid, 0, oldSize, oldSize);
        }
Пример #3
0
		void m_interestingTexts_InterestingTextsChanged(object sender, InterestingTextsChangedArgs e)
		{
			m_values.Clear(); // Forget all we know about occurrences, since the texts they are based on have changed.
			int flid = ObjectListPublisher.OwningFlid;
			var langProj = m_services.GetInstance<ILangProjectRepository>().AllInstances().First();
			int oldSize = m_services.GetInstance<IWfiWordformRepository>().AllInstances().Count();
;
			// Force everything to be redisplayed by pretending all the wordforms were replaced.
			SendPropChanged(langProj.Hvo, flid, 0, oldSize, oldSize);
		}
Пример #4
0
 private void TextsChangedHandler(object sender, InterestingTextsChangedArgs e)
 {
     m_lastTextsChangedArgs = e;
 }
		void m_interestingTexts_InterestingTextsChanged(object sender, InterestingTextsChangedArgs e)
		{
			if (m_rootHvo != 0)
			{
				m_interestingHvos = null; // recompute on next call
				SendPropChanged(m_rootHvo, kflidInterestingTexts, e.InsertedAt, e.NumberInserted, e.NumberDeleted);
			}
		}