MDI child Form.Dispose vs. Form.Close


R

RJ

I have found that an MDIChild form, which is not visible, will not receive a
Closing or Closed event, nor will it's Dispose method be executed. I have
not seen anything documenting a connection between Visibility and
"Disposability \ Closability", and there is no problem calling Form.Close on
a non-MDI Child form. Why shouldn't I be able to close a non-visible form?
Is there any functional difference between the Close and Dispose? Thanks.

RJ
 
Ad

Advertisements


Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top