F
Frank VDL
Hi,
To be able to show my objects in a Grid, I've inherited my list
implementation from BindingList<T>.
The problem is that de objects in this list are created/changed/deleted
in different threads.
If I link the BindingList<T> implementation to a grid
(grdNodes.DataSource = Nodes.List), I get a thread exception when I try
to add a new object using a worker thread.
I know this is because the ListChanged event isn't synchronized, but
isn't this an error/bug in the bindinglist or DataGrid !
Shouldn't one of them synchronize the event ???
Kind regards
Frank Vanderlinden
To be able to show my objects in a Grid, I've inherited my list
implementation from BindingList<T>.
The problem is that de objects in this list are created/changed/deleted
in different threads.
If I link the BindingList<T> implementation to a grid
(grdNodes.DataSource = Nodes.List), I get a thread exception when I try
to add a new object using a worker thread.
I know this is because the ListChanged event isn't synchronized, but
isn't this an error/bug in the bindinglist or DataGrid !
Shouldn't one of them synchronize the event ???
Kind regards
Frank Vanderlinden