作者热门文章
- c - 在位数组中找到第一个零
- linux - Unix 显示有关匹配两种模式之一的文件的信息
- 正则表达式替换多个文件
- linux - 隐藏来自 xtrace 的命令
如何保持焦点在 textBox
但键盘返回键按下发送按钮?
最佳答案
如果您将 Form
的 AcceptButton
属性设置为您的 Send 按钮,那么应该通过触发 Send 按钮使表单响应 Enter。
关于C# 窗体 : How to make Return press Send?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/6059499/
我是一名优秀的程序员,十分优秀!