I have a custom object and a collection that implements IBindingList and I use this collection as the datasource for a bindingsource used for a datagridview.
If the value for one property in my custom object isn't correct an exception is thrown but I can't catch it.
I've tried using BindingSourceComplete but if I put a break in the event handler for BindingSourceComplete the event isn't even raised.
I could with a pointer in the right direction here, I'm tempted to change from exceptions to raising events instead which can be handled.
If the value for one property in my custom object isn't correct an exception is thrown but I can't catch it.
I've tried using BindingSourceComplete but if I put a break in the event handler for BindingSourceComplete the event isn't even raised.
I could with a pointer in the right direction here, I'm tempted to change from exceptions to raising events instead which can be handled.