WinForms binding

Posted by Anthony on Stack Overflow See other posts from Stack Overflow or by Anthony
Published on 2010-05-04T13:19:33Z Indexed on 2010/05/04 15:38 UTC
Read the original article Hit count: 385

Filed under:
|
|

I have some controls bound to a BindingSource control.

I want to do a calculation when the value changes in one control and set the result on another control.

Do i update the textbox the property is bound to or do i update the underlying entity which would update the control anyway(i hope)?

When i change textbox A...textbox B is updated with the new calculated result..this works fine...but i have noticed that when i Leave textbox A..textbox B reverts back to its original value...what is going on here!

© Stack Overflow or respective owner

Related posts about winforms

Related posts about binding