T
Tom Bean
Can events be used to notify an object that something has happened and it
needs to take some action?
Most of the documentation on events makes them sound like they work the
other way around, that is, an object raises an event to inform other objects
that something happened. I need the ability for many objects to notify a
single object that some event has occurred. e.g. similar to LostFocus.
In C++, I would have used SendMessage() to inform the object that it needs
to take some action but I can't find anything in C# to accomplish the same
thing.
Thanks,
Tom
needs to take some action?
Most of the documentation on events makes them sound like they work the
other way around, that is, an object raises an event to inform other objects
that something happened. I need the ability for many objects to notify a
single object that some event has occurred. e.g. similar to LostFocus.
In C++, I would have used SendMessage() to inform the object that it needs
to take some action but I can't find anything in C# to accomplish the same
thing.
Thanks,
Tom