vb.net - Show message box in Visual Basic -
i have following screen below:
i keep getting error "end of statement expected" shown below:
how should end statements work?
this run code when either radio button selected. i'd consider spending time looking @ other questions or other sources syntax help.
public class greetings private sub radiobutton1_checkedchanged(sender object, e eventargs) handles radiobutton1.checkedchanged, radiobutton2.checkedchanged if radiobutton1.checked messagebox.show("hello") elseif radiobutton2.checked messagebox.show("goodbye") end if end sub end class
Comments
Post a Comment