disposing forms

  • Thread starter Thread starter Naim Rizk
  • Start date Start date
N

Naim Rizk

hi all,
if i have forms with many controls,and I want to dispose these forms,
form.Dispose will do the trick ? or do I have to dispose every control
one by one before disposing the form ?

thx
 
Calling .Dispose on a form takes care of the child controls as well (this
does not cover form fields (like DataAdapters))
 

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

Back
Top