D
Duncan Mole
Hi,
Can someone clarify the position on memory usage after a form has been shown
modally. I have read that in order to reclaim memory I must call Dispose()
after assigning a DialogResult to it (as it is simply hidden) but surely if
there are no outstanding references to it in my code it will be subject to
the normal laws of GC and scoping?
I ask because I have implemented dispose after assigning a DialogResult and
it causes some strange behavoir, specifically, the ActiveSync window is
brought in front of my application.
Thanks
Can someone clarify the position on memory usage after a form has been shown
modally. I have read that in order to reclaim memory I must call Dispose()
after assigning a DialogResult to it (as it is simply hidden) but surely if
there are no outstanding references to it in my code it will be subject to
the normal laws of GC and scoping?
I ask because I have implemented dispose after assigning a DialogResult and
it causes some strange behavoir, specifically, the ActiveSync window is
brought in front of my application.
Thanks