public void setCoordinates(int x1, int y1, int x2, int y2) {_spgrRecord.setRectX1(x1);_spgrRecord.setRectX2(x2);_spgrRecord.setRectY1(y1);_spgrRecord.setRectY2(y2);}
public void SetCoordinates(int x1, int y1, int x2, int y2){_spgrRecord.RectX1 = (x1);_spgrRecord.RectX2 = (x2);_spgrRecord.RectY1 = (y1);_spgrRecord.RectY2 = (y2);}