VB.NET ListView沒有選擇則退出程序 [Exit Sub Without select in ListView]
1
2
3
4
5
6
7
8
9
PrivateSub btnDelSelect_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnDelSelect.Click
If lvwAddInventory.FocusedItem IsNothingThenExitSub
End IfEndSub
沒有留言:
張貼留言