I would like to remove the original event behavior of controls within a form (similar to design mode). So, when the user clicks on the button, i only want to capture that event. I do not want the original button event to be fired. Is this somehow possible? I am looking for a generic solution. So it should work with any form and any control within the form.
Reason: I wrote a form validation rules designer. It uses reflection to enumerate all form-types in the entry assembly. The user can then select a form type, the designer creates that form, enumerates the controls, and embedds the form in the designer panel. clicking on a control, opens a formular designer panel, and the user can now create a formular for that control and saves the formular to a DB. When the form is then opened in the normal "runtime" mode, it loads its validation formulars.