D
Daniel Billingsley
An example application I'm looking at uses Hide() exclusively - I've always
used Close()
My understanding would be
- Advantage of Hide is performance, as form doesn't need to be instantiated
from scratch every time it is used
- Disadvantage of Hide is memory, as once a form is opened it is never
disposed until the app ends.
Is that correct, and do you find the memory issue to be a problem in
business apps? Say where a typical user may open 20-30 different forms in
the course of a day. In my quick tests it seems that a form uses quite a
bit of memory and I don't think the user would even perceive a performance
difference.
Am I missing something though?
used Close()
My understanding would be
- Advantage of Hide is performance, as form doesn't need to be instantiated
from scratch every time it is used
- Disadvantage of Hide is memory, as once a form is opened it is never
disposed until the app ends.
Is that correct, and do you find the memory issue to be a problem in
business apps? Say where a typical user may open 20-30 different forms in
the course of a day. In my quick tests it seems that a form uses quite a
bit of memory and I don't think the user would even perceive a performance
difference.
Am I missing something though?