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

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

相关文章:

  • 2022-12-23
  • 2022-12-23
  • 2021-10-07
  • 2022-12-23
  • 2022-12-23
  • 2021-06-18
  • 2022-03-04
  • 2022-12-23
猜你喜欢
  • 2021-11-01
  • 2022-12-23
  • 2021-09-15
  • 2021-10-25
  • 2021-10-04
  • 2022-12-23
  • 2022-12-23
相关资源
相似解决方案