* "=?Utf-8?B?QnJhZA==?=" <an*******@discussions.microsoft.com> scripsit:
In my program I handle an event, but the way it is programed the event
gets "handled" twice. Is there a way to clear the event after it is
handled the first time.
If your event is called 'Foo', then you can use 'FooEvent' to get "more
options". There you can get the 'InvocationList', add handlers
('Combine') and remove handlers using 'Remove'.
--
Herfried K. Wagner [MVP]
<URL:http://dotnet.mvps.org/>