Well, technically, if the main form is closing, the child form is
closing as well (since the child can't live outside of the main form). And
if just the child is closing, then the event would fire as well.
You can always attach to the closing event of the main form (from within
the child) in order to figure out when the main form is closing as opposed
to just your child form.
Hope this helps.
--
- Nicholas Paldino [.NET/C# MVP]
-
mv*@spam.guard.caspershouse.com
" **Developer**" <RE*************@a-znet.com> wrote in message
news:O2**************@TK2MSFTNGP09.phx.gbl...
When I get a closing event in a MID Child form I don't know if the child
form is closing or the main form is closing.
Is there a way to tell?
Thank