Event-driven Programming is a worldview programming in which the stream of the program is controlled by various events like Message from different strings or projects. This method is divided into two parts: One is Event Handling, and another is Event Selection.