方法'RadioButton1_CheckedChanged'无法处理事件'Checked'Changed',因为它们没有兼容的签名。
上面的文字是我面临的错误,下面是代码。
与RadioButton2相同
Private Sub RadioButton1_CheckedChanged(ByVal e As System.EventArgs, ByVal sender As System.Object) Handles RadioButton1.CheckedChanged
FlatButton4.Enabled = False
Timer1.Enabled = True
End Sub
答案 0 :(得分:2)
参数顺序错误。 签名是方法的()之间的参数列表。
Private Sub RadioButton1_CheckedChanged(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles RadioButton1.CheckedChanged
FlatButton4.Enabled = False
Timer1.Enabled = True
End Sub