SIL.FieldWorks.IText.AddWordsToLexiconTests.SandboxForTests.GetComboHandler C# (CSharp) Method

GetComboHandler() private method

private GetComboHandler ( int flid, int morphIndex ) : InterlinComboHandler
flid int
morphIndex int
return InterlinComboHandler
			private InterlinComboHandler GetComboHandler(int flid, int morphIndex)
			{
				// first select the proper pull down icon.
				int tagIcon = 0;
				switch (flid)
				{
					default:
						break;
					case InterlinLineChoices.kflidWordGloss:
						tagIcon = ktagWordGlossIcon;
						break;
					case InterlinLineChoices.kflidWordPos:
						tagIcon = ktagWordPosIcon;
						break;
				}
				return InterlinComboHandler.MakeCombo(
					m_mediator != null ? m_mediator.HelpTopicProvider : null, tagIcon,
					this, morphIndex) as InterlinComboHandler;
			}