1. on mouse down, store the position of the cursor to a global point A.
2. on mouse move, store the position of the cursor to a global point C.
3. on mouse up, set C to -1,-1, and store current location to B
4. on paint, if C =-1,-1 draw a rectangle from point A to point C
5. on paint, if C <>...