按钮是自动选择的(如何关闭它?) [英] Buttons Are Automatically Selected (how to turn this off?)
本文介绍了按钮是自动选择的(如何关闭它?)的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我有 winform 按钮,当您加载表单时,会选择某个按钮.我所说的选中的意思是,如果按下输入",则按下按钮.
I have winform buttons that when you load the form, a certain button is selected. What I mean by selected, is that if "enter" is pressed, the button is pressed.
我怎样才能改变我的按钮,让他们不再这样做?
How can I change my buttons so they don't do this anymore?
推荐答案
Element.Select() 对我有用.
Element.Select() is what worked for me.
这篇关于按钮是自动选择的(如何关闭它?)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文