Question how to add rectangle with color in datagridview cell

wara06

New member
Joined
Jun 19, 2015
Messages
4
Programming Experience
Beginner
hi,
can you help me?
i want to make app like this picture Capture.JPG

i have made no 1 & 2, but now i want make no 3.
the datagridview cell, i want make like this picture, the color list n name list same with the map. but I am confused how to make it? can help me how to make it? or give me a reference to make it..

please help me this app for my thesis, thanks

i use vs2012 n 4.5 .net framework vb.net
 
You could either use an image column and create the appropriate Images to display or else handle the CellPainting event of the grid and use GDI+ to draw the content.
 
Back
Top