Click here to Skip to main content
15,901,035 members
Please Sign up or sign in to vote.
2.75/5 (4 votes)
See more:
Hi if you don't show a form until you need to does it save memory?
Posted
Updated 24-Feb-11 14:33pm
v2

1 solution

It will save the memory the form needs until the form's loaded. So if you have a form that's opened only on certain occasions, then you don't need to show it or instantiate it unless it's required.

That said if you merely want to delay a form from loading, it doesn't really give you much value in doing that. It has to be shown anyway.
 
Share this answer
 
v2
Comments
Espen Harlinn 24-Feb-11 17:57pm    
Right, my 5
Nish Nishant 24-Feb-11 18:49pm    
Thanks.
Sergey Alexandrovich Kryukov 24-Feb-11 18:40pm    
My 5. Very strange question.
--SA
Nish Nishant 24-Feb-11 18:49pm    
I agree :-)
fjdiewornncalwe 24-Feb-11 22:14pm    
+5. A little bit of a weird question from my perspective, but oh well...

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900