Changed c style enum members names into PascalCase

..because no screaming please
Eradicating a switch by using ParseEvent.Type instead