S
spebola
I am using VB.Net 2003 professional edition, and .Net Framework 1.1,
and Windows forms.
What is the proper way to close a windows form displayed by the Show
method? I would like it to be removed from memory. Is there any
difference for the modal method(ShowDialog)? I have experimented with
me.Close and me.Dispose and can not detect a difference. I thought
the me.dispose method did all that me.close did plus set the form
object to nothing.
I have a hundred or so forms in my application, and when I move around
from form to form, (closing the previous form) my application grows
larger and larger according to the task manager. Does the garbage
collector only run when all memory is used?
Any comments would be appreciated.
and Windows forms.
What is the proper way to close a windows form displayed by the Show
method? I would like it to be removed from memory. Is there any
difference for the modal method(ShowDialog)? I have experimented with
me.Close and me.Dispose and can not detect a difference. I thought
the me.dispose method did all that me.close did plus set the form
object to nothing.
I have a hundred or so forms in my application, and when I move around
from form to form, (closing the previous form) my application grows
larger and larger according to the task manager. Does the garbage
collector only run when all memory is used?
Any comments would be appreciated.