Napivo1972
Well-known member
- Joined
- Aug 31, 2004
- Messages
- 75
I have a form on which I am creating controls at runtime and I catch some Events with AddHandler. Some of my code is also deleting controls.
My question is do I need to use RemoveHandler before deleting the controls or will the handler be destroyed when I delete the controls? I mean what would be the best practice?
My question is do I need to use RemoveHandler before deleting the controls or will the handler be destroyed when I delete the controls? I mean what would be the best practice?