B
Barry Mossman
Hi, is it possible to detach an event which is implemented via an anonymous
method.
ie. If the code is:
myObject.myEvent += delegate(object sender, EventArgs e) {
// snip event actions
}
is there a way that I can I detach this later via -=, or do I need to use a
named event?
thanks
Barry Mossman
method.
ie. If the code is:
myObject.myEvent += delegate(object sender, EventArgs e) {
// snip event actions
}
is there a way that I can I detach this later via -=, or do I need to use a
named event?
thanks
Barry Mossman