C#是否可以将groupBox标题作为单选按钮?

use*_*562 6 c# winforms

是否可以将groupBox标题作为单选按钮?如果可能的话,我想让整个groupBox依赖于radioButton.

And*_*ndy 8

添加RadioButton到您的Form.确保它无法控制GroupBox.

添加到您的构造函数Form:

radioButton.Location = new Point(groupBox.Location.X + 13, groupBox.Location.Y - 1);
Run Code Online (Sandbox Code Playgroud)

其他一切都是可能的Events.