我如何组Windows窗体单选按钮? [英] How do I group Windows Form radio buttons?
本文介绍了我如何组Windows窗体单选按钮?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我怎样才能组的Windows窗体应用程序的单选按钮(很像ASP.NET的单选按钮列表!)?
How can I group the radio buttons in Windows Form application (a lot like ASP.NET's radiobuttonlist!)?
因此,我可以从选项进行选择,每种情况之间切换。
So I can switch between each case chosen from the options.
推荐答案
将所有单选按钮的一组像一个容器对象面板
或分组框
。它会自动将它们组合在一起的Windows窗体。
Put all radio buttons for a group in a container object like a Panel
or a GroupBox
. That will automatically group them together in Windows Forms.
这篇关于我如何组Windows窗体单选按钮?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文