I am using some recursive function during my form load. I am attaching event handlers on controls programmatically. Due to recursive function, event handlers get hooked multiple times to a control. I want to remove all handlers from these controls.
Eg. I have added keypress, keydown, gotfocus etc. events in a textbox. I want to remove all these handlers. How do achieve it ?