How to force all MDI child forms and MDI parent form to close on exit or window close?
MDI
On exit() use Application.Exit();
exit()
Application.Exit();
It will close all the open forms including MDI child and parent too.