I agree with John.

The application startup event is for all intensive purposes the same thing as a sub main.