How to draw a table using System.Drawing

I would like to draw a table using System.Drawings and then fill the cells with some text. This text will change every few seconds, at different points in time. This is a game in which there is a grid and every few seconds, a random cell displays a number to split the second, then the user must enter the answer in the text box below it. In addition, the user must click on the cell that just showed the number. I have little experience with graphics in the window, so any help would be greatly appreciated.

+3
source share
1 answer

Have you considered a DataGridView control instead ?

, . x y, (System.Drawing.Point)

(System.Drawing.Pen) Graphics.DrawLine. , ( ), .

, .

+2

All Articles