Update CEvent.cpp