2009-02-03 17:16:30 UTC
Dim s As Integer
Dim radiobutton1 As RadioButton
Dim radiobutton2 As RadioButton
If radiobutton1.Checked Then
s = 0
ElseIf radiobutton2.Checked Then
s = 2
End If
I am told by express:
Error 1 'Public Event Checked(sender As Object, e As System.Windows.RoutedEventArgs)' is an event, and cannot be called directly. Use a 'RaiseEvent' statement to raise an event.