}//If you click on point gives reference to point public void MoveFigure(int X, int Y) { foreach (var p in points) { PointHelpers.MovePointXY(p, X, Y); } }//Addes X and Y to all points