Does anyone have a good technique (or tutorial) for implementing rulers in a C # Windows Forms application? I want to display an image showing rulers that indicate your mouse position to provide more accurate cursor positioning. Just like the image below:

I tried to use splitter controls to hold labels, but I don't know how to make the upper left gray blank area. Any advice? Thank.
source
share