c# rediobutton_CheckedChanged 事件无用
privatevoidrdbA_CheckedChanged(objectsender,EventArgse){if((senderasRadioButton).Chec...
private void rdbA_CheckedChanged(object sender, EventArgs e)
{
if ((sender as RadioButton).Checked == true)
{
switch ((sender as RadioButton).Text)
// {
case "A": StuAnswer[ei] = 0; break;
case "B": StuAnswer[ei] = 1; break;
case "C": StuAnswer[ei] = 2; break;
case "D": StuAnswer[ei] = 3; break;
}
}
}
怎么每次点击groupbox里的rediobutton在断点调试时不执行代码呢?有时执行有时不执行...
很费解...我看了半天找不到错误啊...
高人指教!!! 展开
{
if ((sender as RadioButton).Checked == true)
{
switch ((sender as RadioButton).Text)
// {
case "A": StuAnswer[ei] = 0; break;
case "B": StuAnswer[ei] = 1; break;
case "C": StuAnswer[ei] = 2; break;
case "D": StuAnswer[ei] = 3; break;
}
}
}
怎么每次点击groupbox里的rediobutton在断点调试时不执行代码呢?有时执行有时不执行...
很费解...我看了半天找不到错误啊...
高人指教!!! 展开
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询