Reputation: 19
How to force all MDI child forms and MDI
parent form to close on exit or window close?
Upvotes: 1
Views: 946
Reputation: 1906
On exit()
use Application.Exit();
It will close all the open forms including MDI child and parent too.
Upvotes: 1