public static void AddElementToList(Shape s) { ALL_ELEMENTS.Add(s); var eventData = s.getXPos().ToString() + ", " + s.getYPos().ToString(); CircleAddedEvent?.Invoke(null, eventData); }
public void DrawCircles() { CircleAddedEvent?.Invoke(this, new EventArgs()); }