In the constructor:
- Create a timer. For this application, you can use System.Windows.Timer.
- Set the timer's Interval to 3000.
- Start the timer.
Create the timer's Tick event handler. In the handler just invoke the Invalidate method.
Create a Paint event handler. Declare it using the form
protected override void OnPaint ( PaintEventArgs e )
In the Paint event handler
Create a MouseClick event handler. Declare it using the form
protected override void OnMouseClick ( MouseEventArgs e )
In the Mouse Click event handler
- Stop the timer.
- Display the Label in highlighted quadrant, if any, in the TextBox.
- Start the timer.
If you have questions regarding this solution, just ask.
Hope that helps.