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.