C#中如何获取radioButton的值
if(radioButton1.Checked)
{
//
}
else
{
}
要不就遍历groupBox1吗?
foreach(Control c in groupBox1.Controls)
{
if(c is RadioButton)
{
if(((RadioButton)c).Checked)
{
MessageBox.Show(c.Name);
}
}
} 
