First question, Do we only need one Event Receiver per program? I mean the “ServiceName” property only needs to point to a service on the service library in order to receive all/any event sinks? (just to confirm).
Second, and the suggestion…
We have a method to register event handlers on the EventReceiver that follows the syntax:
I can only unregister all the existing EventIds, or completly remove the Object from receiving events. I can NOT specifically say I want to stop receiving events on this form for this specific eventID. Just like we did with the registration.
Would that unregister EID_Sink2 from all other forms that may have it implemented or just from Form1?
How the eventreceiver knows what form (object) i want that sink to be unregister?
I could have multiple objects listening to the sink, and I only want to let the eventreceiver know that I dont want it anymore on a specific object (Form1).
Just like it allowed me to register it on different objects if I want it to.