Prebuild :
The PreBuild event is initiated before the rest of the component build events. This event is often used to hide or unhide pages.
It’s also used to set component variables.
...