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); } }
public ItemPoint Clone() { ItemPoint p = new ItemPoint(x, y); return(p); }