1. D

    Event Handler Exists?

    I add an event handler in my code for a user control depending on the specific operation that is requested: AddHandler myEvent, Addressof Handle_MyEvent When the control is disposed of, I want to remove the event handler only if it was added in the first place using: If "the handler exists"...
  2. M

    RemoveHandler and lambda expressions

    Hi, Does someone know how to remove a handler set up by a lambda expression? According to this MSDN article, lambda expression should be assigned to variables which should be used to define handler operators. So far, I have used lambda expessions w/o variables. For instance, the following works...