Connect MyPolygon,MyPattern and MyPoint