问题
How can I create a ListBox control on my Winforms application that has images in an orderly fashion, just like it holds text?
I'd like the images to appear like this:

Maybe I don't even need to use a ListBox. Maybe there's a better control out there for this purpose? Thanks!
回答1:
You possibly want an owner-draw list box. There's an example on the MSDN page for the DrawItem event.
回答2:
- Load all your images into an imagelist, using a unique key for each image, such as a filename. Make sure you set the imagelist imagesize to the size of the images.
- Set the listview LargeImageList property to the imagelist you loaded.
- Assign the imagekey property of each listview item to the key that matches its image in the imagelist.
- Set the listview view style to view.largeicon.
- Profit.
来源:https://stackoverflow.com/questions/4205531/creating-a-listbox-of-images