把Form的KeyPreView设为true,然后在Form的KeyPress中增加下列代码即可:
if (e.KeyChar == '\r')
this.SelectNextControl(this.ActiveControl, true, true, true, true);
转载于:https://www.cnblogs.com/luozhanbin/archive/2008/07/07/1237726.html
转载于:https://www.cnblogs.com/luozhanbin/archive/2008/07/07/1237726.html