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
Post a Comment