G
Guest
Could someone please comment on the validity the following statement:
1. A Windowsform is created at runtime, and the user interacts with it.
2. The window is closed either by user action or the .Close method being
called.
3. The instance of the myForm class is stored as on object variable in the
program.
Conclusion:
The only resources being saved are a bunch of properties for that form
object, and if that form object later calls the .show method, the form is
re-created from scratch. In other words, all 'expensive' resources that deal
with the actual displaying of the form are released when closed, right?
1. A Windowsform is created at runtime, and the user interacts with it.
2. The window is closed either by user action or the .Close method being
called.
3. The instance of the myForm class is stored as on object variable in the
program.
Conclusion:
The only resources being saved are a bunch of properties for that form
object, and if that form object later calls the .show method, the form is
re-created from scratch. In other words, all 'expensive' resources that deal
with the actual displaying of the form are released when closed, right?