在第一列输入数据 直接跳到第三列 不经过第二列
重写用户控件
- protected override bool ProcessCmdKey(ref Message msg, Keys keyData)
- {
- if (keyData == Keys.Enter)
- {
- //你要做的事
- return true;
- }
- else
- {
- return base.ProcessCmdKey(ref msg, keyData);
- }
- }
在第一列输入数据 直接跳到第三列 不经过第二列
重写用户控件
转载于:https://www.cnblogs.com/atlasroben/archive/2008/08/03/5672263.html