Groups | Blog | Home
all groups > dotnet windows forms > june 2004 >

dotnet windows forms : ItemChangedEventArgs



pdavis68 NO[at]SPAM hotmail.com
6/9/2004 8:06:33 PM
I've got a grid class that I'm writing and it's hooked up to a
CurrencyManager object.

Maybe I'm not understanding this correctly, but when an edit is performed,
shouldn't I be triggering an ItemChanged event in the currency manager for
the indexed item?

And if so, how am I supposed to accomplish this?

The constructor of ItemChangedEventArgs is internal, so I can't instantiate
one, so as far as I can tell, there's no way for me to trigger the event in
the CurrencyManager.

Maybe I'm just misunderstanding how this is supposed to work.

Pete

pdavis68 NO[at]SPAM hotmail.com
6/10/2004 10:42:20 AM
Nevermind, I had it all backwards. The ItemChanged event is being triggered
by the bound data, so I need to handle the ItemChanged event, not trigger
it.

Pete

[quoted text, click to view]

AddThis Social Bookmark Button