引发textbox控件的KeyDown事件里加入如下代码:
if (e.KeyCode == Keys.Enter) { e.SuppressKeyPress = true;//回车事件已经处理完不再响应了 }