Question release public shared variable after form close

prasad kulkarni

Well-known member
Joined
Sep 7, 2009
Messages
62
Programming Experience
1-3
hi,

How to release all public shared variables of particular form in vb.net 2005

if any one knows, please reply me soon
 
Use the Disposed event of the form where you clean up. This can be for example calling Dispose if your object supports this and/or clearing collections/arrays and dereference the variable.
 
Back
Top