Monthly archive: January 17, 2010

Displaying image thumbnails in the level editor

To display the sprite thumbnails in my level editor application, I wrote a couple of simple custom controls. The first control extends from the .NET PictureBox control, and just has an additional property to track whether it’s been selected. Then, in the OnPaint method, if the SelectablePictureBox is selected, then I draw a border over […]