private void ctrl_KeyPress( object sender, KeyPressEventArgs e) { if( e.KeyChar == (char)13 ) { // 发送“TAB”键,切换到下一控件。 SendKeys.Send( "{TAB}" ); // 指示 KeyPress 事件已处理,去掉 Windows 缺省的叮当声。 e.Handled = true; }}