How to make an event firing when me.BindingContext(dtDataTable).Position changed

I think it is posible. But I don't know how to do it. Something like this:
Private Sub dtDataTable_PositionChanged(sender as Object, e as ???) handles me.BindingContext(dtDataTable).PositionChanged
..............
End Sub
Thank you.
LVL 3
maidinhtaiAsked:
Who is Participating?
 
SanclerCommented:
I'm not sure you can do it in the precise way you suggest: I've never tried it.  But you certainly can if you use the BindingContext to derive a CurrencyManager (which is what I would normally do) or - as in the demo in this link - a BindingManagerBase

http://msdn2.microsoft.com/en-us/library/system.windows.forms.bindingmanagerbase.positionchanged.aspx

Roger
0
 
maidinhtaiAuthor Commented:
Exactly. Thank you.
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.