B
Barry Mossman
Hi,
What is required to unwire an event ? I wire it with:
this.MyEvent += new MyEventHandler()
Do I need to maintain a handle to the eventhandler created so that I can
detach it ?
The following seems to work, but it doesn't feel right as I seem to be
adding one object, but then removing another:
this.MyEvent -= new MyEventHandler()
What is happening here ?
Thanks
Barry Mossman
What is required to unwire an event ? I wire it with:
this.MyEvent += new MyEventHandler()
Do I need to maintain a handle to the eventhandler created so that I can
detach it ?
The following seems to work, but it doesn't feel right as I seem to be
adding one object, but then removing another:
this.MyEvent -= new MyEventHandler()
What is happening here ?
Thanks
Barry Mossman