按Enter键起到Tab键的效果

private void userstxt_KeyDown(object sender, KeyEventArgs e)
        {
            if (e.KeyCode == Keys.Enter)
            {
                SendKeys.Send("{TAB}+{HOME}");
            }
        }

posted @ 2012-07-09 22:56  Alec-Yin  阅读(243)  评论(0编辑  收藏  举报
更多前端博客,访问:http://lhyin.com