V2/Cet/HW/Cet.HW.GDI/Geometries/Rectangle.cs
/// <summary>
/// Determines if the specified point is contained within this Rectangle structure.
/// </summary>
/// <param name="pt">The Point to test.</param>
/// <returns>This method returns true if the point represented by pt is contained within this Rectangle structure; otherwise false.</returns>
Determines if the specified point is contained within this Rectangle structure.
Determines if the specified point is contained within this Rectangle structure .
public bool Contains(Point pt)
        {
            return
                this.IsEmpty == false &&
                pt.X >= this.X &&
                pt.Y >= this.Y &&
                pt.X <= this.Right &&
                pt.Y <= this.Bottom;
        }
public bool Contains ( Point pt ) { return this . IsEmpty == false && pt . X >= this . X && pt . Y >= this . Y && pt . X <= this . Right && pt . Y <= this . Bottom ; }
Determines if the specified point is contained within this Rectangle structure.
Determines if the specified point is contained within this Rectangle structure .
This method returns true if the point represented by pt is contained within this Rectangle structure; otherwise false.
This method returns true if the point represented by pt is contained within this Rectangle structure ; otherwise false .
pt
Point
The Point to test.
The Point to test .