October 21st, 2010, 02:25 PM
Oh, just a note--I didn't copy the method with the "object, EventArgs" signature because I don't have an 'e' object anywhere in my DLL to refer to. That's one of the things I will be researching......
October 21st, 2010, 02:16 PM
Okay, I can see I need to go read up a bit. Thanks so much for your help today.
October 21st, 2010, 01:55 PM
Oh, duh... I have it now. Thank you, Big Ed! It's much appreciated.
So HeardIt goes away, and that line instead becomes:
OnMessageReceived += new MessageReceivedHandler (MessageReceived);
...
October 21st, 2010, 01:40 PM
Okay, I changed the name from MessageReceived to OnMessageReceived. I like to stay with convention--thanks for the tip.
But I am getting a bit confused. I'm getting an error on the method...
October 21st, 2010, 12:36 PM
Okay, I think I have the basic code working. It goes something like this:
MessageReceived += new MessageReceivedHandler (HeardIt);
...
while (true) {
// some code
October 21st, 2010, 10:05 AM
Hi, guys.
I'm hoping you can help me. I've been a coder a long time, but I just never have done anything with events and delegates. I have a rough understanding of the concept, but am having...