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

Popular posts from this blog

sublimetext3 - what keyboard shortcut is to comment/uncomment for this script tag in sublime -

java - No use of nillable="0" in SOAP Webservice -

ubuntu - Laravel 5.2 quickstart guide gives Not Found Error -