Toggle Component States In Form Events

How to easily toggle component states by using the application event system.