Jump to content
Xtreme .Net Talk

Recommended Posts

Posted

Hallo Gentlemen,

would anybody know, if by closing a Form with me.Close() all ist data is removed from memory?

 

If not, what method would do it?

 

Thank you for your replies!

  • *Experts*
Posted
When the form is closed, the managed controls and objects loaded by it are disposed of, and the garbage collection will kick in eventually and free the memory. So, in short, yes, the memory is freed when the form is closed.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...