G
Guest
I read this article called "Windows Forms Data Binding and Objects" by
Rockford Lhotka wich in an MSDN article. It makes a custom class that can be
bound to. If a value in the class changes from code or an other control it
needs to be updated in all bound controls. That´s where the PropertyChanged
event comes in. The article says that de bindingmanager listens for those
events.
Now, the sample code (I didn´t run it) is in VB.Net. I would like to do the
same thing in C#. And guess what, it doesn´t work. I don´t know what i am
doing wrong and can´t find any samples.
Anyone there that can give me a hint?
Much appreciated, thanks.
Rockford Lhotka wich in an MSDN article. It makes a custom class that can be
bound to. If a value in the class changes from code or an other control it
needs to be updated in all bound controls. That´s where the PropertyChanged
event comes in. The article says that de bindingmanager listens for those
events.
Now, the sample code (I didn´t run it) is in VB.Net. I would like to do the
same thing in C#. And guess what, it doesn´t work. I don´t know what i am
doing wrong and can´t find any samples.
Anyone there that can give me a hint?
Much appreciated, thanks.