这个问题在这里已经有了答案:WhichRadiobuttoninthegroupischecked?(13个答案)关闭8年前。我想知道是否有任何正确的方法来读取从一个GroupBox选中的RadioButton。到目前为止,我会为每个GroupBox创建一些内容。privateintcheckRadioButton(){if(radioButtonKwartal1.Checked){return1;}elseif(radioButtonKwartal2.Checked){return2;}elseif(radioButtonKwartal3.Checked){return3;}else