An example of moving items from one listbox to another

This is a five minute mock-up of a playing card game, with a hand of cards, and a set of played cards, shown in two listboxes. The purpose of this example is to show how to move an item from one observable collection to another and what happens to the visuals.

C# (188.3 KB)
 
 
 
 
 
(0)
1,853 times
Add to favorites
9/20/2012
E-mail Twitter del.icio.us Digg Facebook

Solution explorer

C#
Click an item in the panel on the left to view the contents here.