How could i make my program close Form1 and open Form2 when they double click on ListViewItem #0 in VB.net?
Printable View
How could i make my program close Form1 and open Form2 when they double click on ListViewItem #0 in VB.net?
Look at the attachted demo :
another neater way just crossed my mind :
If ListView1.Items(0).Selected = True Then
MsgBox("You clicked index 0")
Me.Hide()
frm2.Show()
End If