Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我正在 Visual Studio 2012 上进行可视化基本编程。无论如何我正在编程登录屏幕(不使用 SQL)并且我写下密码并按 Enter 但它不起作用,我如何像提交一样制作 Enter 键键?(我试过 &~ 快捷键)
这是 WinForms 还是 Web?
如果是 WinForm 开发,Form.AcceptButton在设计时设置。 如果您愿意,您还可以设置Form.CancelButton来处理Esc密钥。
Form.AcceptButton
Form.CancelButton
Esc