vb.net - Selected item in combo box to individual forms -
i want selected item on combo box open in individual forms.
i'm using code in button when select item 2 forms opening
combobox.selectedvalue = "1" form4.show() combobox1.selecteditem = "2" form5.show()
try this:
dim value string = combobox1.selectedvalue select case value case "1" form4.show() case "2" form5.show() case else messagebox.show("choose something...") end select
vb.net
No comments:
Post a Comment