SIL.FieldWorks.IText.ConcordanceControl.InitializeConcordanceSearchWordPOS C# (CSharp) Метод

InitializeConcordanceSearchWordPOS() приватный Метод

Select the Word Category line to search on and then select the part of speech to match the target then search based on those selections.
private InitializeConcordanceSearchWordPOS ( ICmObject target ) : bool
target ICmObject
Результат bool
		private bool InitializeConcordanceSearchWordPOS(ICmObject target)
		{
			if (!(target is IPartOfSpeech))
				return false;

			var partOfSpeech = (IPartOfSpeech) target;
			SetConcordanceLine(ConcordanceLines.kWordCategory);
			m_pOSPopupTreeManager.LoadPopupTree(partOfSpeech.Hvo);

			//m_btnSearch.Enabled = true;
			//m_btnSearch_Click(this, new EventArgs()); // This button click just does LoadMatches(true)
			LoadMatches(true);
			SaveSettings();
			return true;
		}