|
-
May 14th, 2026, 09:28 PM
#26
Re: formclosing, formclosed and applicaton events not firing when app close
The order of events raised due to clicking the X are:
(Clicking the X) In a child Form (also a regular Form), first the Form’s FormClosing event, then assuming you didn’t set Cancel, the Form’s FormClosed event.
(Clicking the X) In an MDIForm, first the MDIForm’s FormClosing event, then assuming not cancelled, the FormClosing followed by FormClosed events of each child Form, finishing with the MDIForm’s FormClosed event.
- Coding Examples:
- Features:
- Online Games:
- Compiled Games:
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|