Пример #1
0
        public bool CompareItemPoint(System.Object obj)
        {
            if (obj == null)
            {
                return(false);
            }
            ItemPoint itemPointObj = (ItemPoint)obj;

            if ((System.Object)itemPointObj == null)
            {
                return(false);
            }
            else
            {
                return(x == itemPointObj.x && y == itemPointObj.y);
            }
        }
Пример #2
0
        public ItemPoint Clone()
        {
            ItemPoint p = new ItemPoint(x, y);

            return(p);
        }