Using C#
Windows Forms
;
I have a DataGridView
with a number of cells. I would like to show digits (from 1-9) in the cell. The digits should be placed under each other in a 3x3
format.
I looked around, and only ended up with a rather complex custom implementation of a richtextbox
cell.
Is there a way I can draw a custom rectangle
and then implement this as backgroundimage
of the cell or something? The cell need to be redrawn several times. So I can't just call the paint
event I guess.
Note: The cell must not be edited by the user.
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…