Hi, I'm using dynamically created "Transmitters" and "Recievers".
The Recievers are created once during the Load-Event of the Starting Form. The Transmitters get created and deleted during runtime.
For the Transmitters I declared an Public "Transmit"-Event which is raised by this object, that way I believe each of the instantiated Transmitters (correct wording??) to be able to raise that Event.
Now I want each of the Recievers react on that event individually. Where shall I put the "AddHandler" Statement?
-At each creating of a new Transmitter for each Reciever (and RemoveHandler when Deleting)??
or is there a better way?
@jmcilhinney: If you have explained that in your blog, I didn't get it.
The Recievers are created once during the Load-Event of the Starting Form. The Transmitters get created and deleted during runtime.
For the Transmitters I declared an Public "Transmit"-Event which is raised by this object, that way I believe each of the instantiated Transmitters (correct wording??) to be able to raise that Event.
Now I want each of the Recievers react on that event individually. Where shall I put the "AddHandler" Statement?
-At each creating of a new Transmitter for each Reciever (and RemoveHandler when Deleting)??
or is there a better way?
@jmcilhinney: If you have explained that in your blog, I didn't get it.