VB.NET,

Come posso fare per identificare quale "Tab" ho cliccato su una "TabControl" ???

cioe':

Se io ho aggiunto 3 schede(Tab) al "TabControl" e voglio creare 3 eventi distinti e quindi mettero':

If ...tab1...Selected = True Then

MsgBox("Ho premuto la tab1")

ElseIf ...tab2...Selected = True Then

MsgBox("Ho premuto la tab2")

ElseIf ...tab3...Selected = True Then

MsgBox("Ho premuto la tab3")

EndIf


Come e' la sintassi corretta???