c# - ListView selected items add other ListView -
c# - ListView selected items add other ListView -
how add together listview selected items in other listview?
example project: exptreelib
put form listview2 , add together lv.selecteditems.
thanks in advance.
you can utilize method add together items
listview list = new listview(); listviewitem item = new listviewitem(); // add together them list.items.add(item);
this enough, can utilize simple loop each element add together list.
foreach (listviewitem item in listview.selecteditems) { // create new list, or utilize nowadays list // add together each item using .add() method. }
c#
Comments
Post a Comment