public bool Contains(IScreenLoc RowCol)
        {
            bool contains = false;

            if ((RowCol.CompareTo(this.From) >= 0) &&
                (RowCol.CompareTo(this.To) <= 0))
            {
                contains = true;
            }
            return(contains);
        }
        public ScreenLocRange(IScreenLoc From, IScreenLoc To, RangeForm rangeForm = RangeForm.Rectangular)
        {
            // make sure from preceeds to.
            if (To.CompareTo(From) < 0)
            {
                this.From = To;
                this.To   = From;
            }
            else
            {
                this.From = From;
                this.To   = To;
            }

            this.RangeForm = rangeForm;
        }