gpt4 book ai didi

C# 窗体 : How to make Return press Send?

转载 作者:太空狗 更新时间:2023-10-30 00:08:45 26 4
gpt4 key购买 nike

如何保持焦点在 textBox 但键盘返回键按下发送按钮? enter image description here

最佳答案

如果您将 FormAcceptButton 属性设置为您的 Send 按钮,那么应该通过触发 Send 按钮使表单响应 Enter。

关于C# 窗体 : How to make Return press Send?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/6059499/

26 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com