public void SetPolygonAndElement(IPolygon polygon, IElement elm) { this.Polygon = polygon; this.Element = elm; if (this.AoiHasBeenDrawn != null) { this.AoiHasBeenDrawn(this.Polygon, this.Element); } }