这是代码
RadioButton rdoResult5 = new RadioButton();
try
{
//发生肿瘤并死亡选项被选中
rdoResult5.Checked = true;
}
catch
{
}
这是报错的截图。
虽然报了异常,但还是设置了RadioButton Checked = true
这是代码
RadioButton rdoResult5 = new RadioButton();
try
{
//发生肿瘤并死亡选项被选中
rdoResult5.Checked = true;
}
catch
{
}
这是报错的截图。
虽然报了异常,但还是设置了RadioButton Checked = true