user2236938
user2236938

Reputation: 19

Closing all MDI child forms on exit?

How to force all MDI child forms and MDI parent form to close on exit or window close?

Upvotes: 1

Views: 946

Answers (1)

Ashok
Ashok

Reputation: 1906

On exit() use Application.Exit();

It will close all the open forms including MDI child and parent too.

Upvotes: 1

Related Questions