Computes the size and location of the specified client rectangle in screen coordinates.
Assembly: System.Windows.Forms (in System.Windows.Forms.dll)
The following code example demonstrates how to use the BackColor, , PointToScreen, MouseButtons, ControlPaint.DrawReversibleFrame, and Rectangle.IntersectsWith members. To run the example, paste the following code in a form called Form1 containing several controls. This example requires that the MouseDown, MouseMove, and MouseUp events are connected to the event handlers defined in the example.