none
event, "new Handler(this.method)" RRS feed

  • Question

  • Hi!
    I'm a bit confused about how to use events.
    The documentation says, I should add an event handler by doing a
    MyEvent+=new MyHandlerDelegate(this.MyHandlerMethod);
    However,
    MyEvent+=this.MyHandlerMethod;
    apparently works too.
    Does anyone know what can go wrong in the second case?

    Lots of Greetings!
    Volker
    Volker
    Tuesday, August 11, 2009 3:24 PM

Answers

All replies