Added to ControlEvents.cs, edited on notifyobject.