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;
}