Ejemplo n.º 1
0
        public void addCardsToList()
        {
            conn = new DBconn();

            Binder binder;

            binder = conn.viewUser(name);

            foreach (card c in binder.cardList)
            {

                //this.listView.Items.Add(new CollectableCard { Name = c.Name, Friendship = c.Friendship, Bravery = c.Bravery, Humor = c.Humor, StarFactor = c.StarFactor });
                this.listView.Items.Add(c);
            }
        }