首先设置窗体的keypreview=true
然后再窗体的KeyPress事件中写上
if(e.KeyChar==13)
SendKeys.Send("{TAB}");
private void CollectPersonalInfo_KeyPress(object sender, KeyPressEventArgs e)
}
相关文章:
-
2022-12-23
-
2022-12-23
-
2022-12-23
-
2022-12-23
-
2022-12-23
-
2022-02-08
猜你喜欢
-
2022-01-25
-
2022-12-23
-
2021-09-16
-
2021-07-26
-
2022-12-23
-
2022-02-22
相关资源
-
下载
2021-06-24
-
下载
2023-02-25
-
下载
2023-03-31
-
下载
2022-12-04
-
下载
2021-06-05