我如何向下箭头发送密码?

l--*_*''' 5 vb.net winforms

在vb.net中我想为向下箭头做一个sendkeys.什么是代码?

msc*_*t42 17

' make sure you have this at the top:
Imports System.Windows.Forms.SendKeys


' and then you can use this:
SendKeys.Send("{DOWN}")
Run Code Online (Sandbox Code Playgroud)

点击此处获取有关VB.Net中SendKeys的更多示例和详细信息 http://msdn.microsoft.com/en-us/library/system.windows.forms.sendkeys(VS.71).aspx


Mar*_*arc 5

虽然我不会质疑为什么,你可以在MSDN上看到这篇文章说你发送"{DOWN}"

特别:

SendKeys.Send("{DOWN}")
Run Code Online (Sandbox Code Playgroud)