在控件的KeyPress事件中编写如下代码:

if (e.KeyChar == (char)13)
{
        e.Handled = true;
        SendKeys.Send("{TAB}");
}

相关文章: