|
I derived my own Control from HandleExternalEvent, using wca.exe. I want this control to behave the following:
- The Event args (derived from ExternalDataEventArgs ) of the event which is to be handled include a Property A, which can be either 1, 2 or 3 - My derived Control has a user-settable "Filter" property which can be set to 1, 2 or 3 - Only if Property A of the received Event is set to the Filter value, the event is "handled".
To my surprise I discovered that the "Execute" method of HandleExternalEvent is sealed, so I cannot implement my filter in an override of this method.
Does anyone have a solution to this (other than write my own HandleExternalEvent control from ground up)?
Thanks for any help,
Urs |