vb.net - Determine if listview multiple item checkbox is checked -


i have list view check box. want make button visible, if item in listview checked. if there's no checked item visible = false.

another quick example...

private sub form1_shown(sender object, e eventargs) handles me.shown     listview1_itemchecked(nothing, nothing) end sub  private sub listview1_itemchecked(sender object, e itemcheckedeventargs) handles listview1.itemchecked     button1.visible = (listview1.checkeditems.count > 0) end sub 

Comments

Popular posts from this blog

html - Outlook 2010 Anchor (url/address/link) -

javascript - Why does running this loop 9 times take 100x longer than running it 8 times? -

Getting gateway time-out Rails app with Nginx + Puma running on Digital Ocean -