I have a script like that, once user clicks on the radiobutton, messagebox do appear. But when i click da "No" dialogresult, messagebox appears twice. I dunno why does that happen. I don't want it to display twice times. I know there must be a so simple way to fix that. >.> I also tried to return the function but no luck.
Private Sub RadioButton1_CheckedChanged(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles RadioButton1.CheckedChanged
Dim result As Integer = MessageBox.Show("message", "caption", MessageBoxButtons.YesNo)
If result = DialogResult.No Then
RadioButton1.Checked = False
ElseIf result = DialogResult.Yes Then
memoryh4x(&H160ED98, 1, 4)
End If
End Sub