当 ctrl.Text 是一个空字符串时(值为0),我得到了一个正结果。 这是否是正确的行为?我需要检查一个空字符串吗? "Next|Prev|First|Last|Search".IndexOf(ctrl.Text) > -1