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.
有一些带有一些文本控件和按钮的 Windows 窗体。使用 TAB 和 Enter 的用户可以关注下一个元素。应该跳过按钮。
如何从标签顺序中省略 Windows 窗体控件(OpennetCF Button2)?
您只需将其 TabStop 属性设置为 false
button1.TabStop = false;