private void userstxt_KeyDown(object sender, KeyEventArgs e)
{
if (e.KeyCode == Keys.Enter)
{
SendKeys.Send("{TAB}+{HOME}");
}
}
按Enter键起到Tab键的效果 Alec
更多前端内容请访问个人博客:殷路辉的个人博客
private void userstxt_KeyDown(object sender, KeyEventArgs e)
{
if (e.KeyCode == Keys.Enter)
{
SendKeys.Send("{TAB}+{HOME}");
}
}