Reputation: 14097
I'm a bit confused about this. I have breakpoints in place that show the event raising with a null NewObject and THEN the constructor to the object the list holds get called. It seems like this is completely backwards to me but I can't see anything I can change.
Am I missing something or is this just really broken?
Upvotes: 2
Views: 536
Reputation: 4763
I just checked it - it calls constructor only if you don't set the NewObject
property so I'd say that it's not realy broken.
The event is actually designed for you to replace adding new object with the default constructor with something that makes sense for your application - for example:
Upvotes: 4