I have several applications that run from a main Application.
I want to close all opened applications if the main application is closed with condition
I want to close just like I close the applications from within the application itself.
When the application is close from the application itself, it has to do some closing stuff before ending the application.
How could I do it ?