|
-
Oct 24th, 2006, 01:05 AM
#1
Thread Starter
Junior Member
Dispose Usercontrol?
Hi guys,
I have read alot of threads regarding dispose and cleaning up.
The one thing I am not sure on do you need to dispose of a usercontrol, say a simple class inheriting textbox with a couple of additonal properties, when you close the form?
If so, would you put that in the formclosed event?
Cheers
Pickles
-
Oct 24th, 2006, 02:21 AM
#2
Hyperactive Member
Re: Dispose Usercontrol?
Hi and welcome to the forums
I think that the right way its creating a dispose method for the user control, that disposes all controls inside this usercontrol; once you dispose the form it will dispose all controls inside it.
Hope this helps
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|