This should help get you started with an example. If your using delegates
to update a form from another class/thread, you may also want to use a
"pull" model, where you pull the stats from the other class using a timer in
your gui form. This, imo, is much easier and has other advantages over
using delegates to stuff the events into the gui thread pump.
http://msdn.microsoft.com/vcsharp/us...ms06112002.asp
--
William Stacey, MVP
"Santhoshi" <an*******@discussions.microsoft.com> wrote in message
news:A8**********************************@microsof t.com...
I want to declare an event, a delegate and the event handler in the same
form/Class and handle the events concept/functionality. I know to decalre an
event and a delegate in a different class and handle the event handler in
the different form/class . But how to do all this in the same class/form.
Can you please give me the sample, code snippets or the urls which is
explaining this funtionality?
Thank you
Santhoshi