"Removing Events" and -=
-
I've designed a class (not a control) that has some custom events. Then I want to clear the class of it's current values, refill the values, and then re-register to the events, as different clients listen to different events. But how do I clear the event queue (or whatever the += syntax adds events to) of the previous events? I haven't seen any good examples of -= syntax nor can I find any in the MSDN docs. Any ideas?
-
I've designed a class (not a control) that has some custom events. Then I want to clear the class of it's current values, refill the values, and then re-register to the events, as different clients listen to different events. But how do I clear the event queue (or whatever the += syntax adds events to) of the previous events? I haven't seen any good examples of -= syntax nor can I find any in the MSDN docs. Any ideas?