views:

11

answers:

0

Hi,

Basic winforms question I think. If I have a dialog where I'm collecting infomation, including some fields which will change depending upon the input of other fields, would it be normal/best practice to create an class/object to hold the various data, and then bind individual controls (e.g. text box, checkbox) to this object? i.e. then when actions occur you just update the object and the form will automatically update fields and be correct?

thanks