-
Creating new stuffs
For a card game im making. I want to have a card shop form which shows all the cards from an array which match a certain level. For example show all the cards that are level 1 and below
Is there a way to have a form that creates pictures boxes for each card equal to that level and places them next to one another?
I would use a list box but its impratical for what i am trying to achieve
Thanks!
-
How are you storing the card's details, i hope you're using a custom type :)
-
You could create control arrays of pictureboxes, but it will be extremely inefficient on memory to do so. 52 boxes is a lot... you'd be better loading the graphics into memory using API and calling BitBlt API to draw them onto the form. Check out www.allapi.net for more on BitBlt.