-
Square Grid how?
I need to make a square gride in a picture box which I can also determine which square is clicked like say square 12,5 for instance. My current code looks a mess and I am wondering if anyone knows a good way to do it? Right now I am drawing lines at run time in the picture box but its getting way too messy now.
-
If you made coded the line drawing bit so that it could go in a loop, i can't see how the code could be that bad. It would just be 2 loops, one for the horozintal lines, and one for vertical.
-
...
Thats not exactly the problem, I already know how to make a grid with lines I don't want to because of the fact that I need to keep coordinates of each square, like the first one being 0,0 or 1,1. And it gets too messy when using lines.