Hi,

I have a problem with the location of events in the .NET framework. Why
Microsoft locates the events in top level classes and not in the classes
where the events really happens? For instance: TreeView raises events, not
the TreeNode or XMLDocument raises events not the XMLNode! I think, it is a
bad concept to do it in this style.
For example: If you have a large object model which holds it's data in an
XMLDocument and every object is linked in a 1:1 relationship to a XMLNode-
object how can I realize that the object "hears" what happens in its
XMLNode? When I use the .NET style I would link every object to the
XMLDocument and filter the suitable events. That means a tremendous
overhead.

Thanks for any reply!
Christian

You can read messages from the Advanced DOTNET archive, unsubscribe from Advanced 
DOTNET, or
subscribe to other DevelopMentor lists at http://discuss.develop.com.

Reply via email to