Reputation: 1
Method 'RadioButton1_CheckedChanged' cannot handle event 'Checked'Changed' because they do not have a compatible signature.
The text above is the error I'm facing, and below is the code.
It's the same with 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
Upvotes: 0
Views: 629
Reputation: 9024
Wrong order of parameters. The signature is the list of parameters between the () of the method.
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
Upvotes: 2