|
-
September 4th, 2008, 08:46 AM
#1
Design Issue
Hi All,
I have a scenario for which I am trying to find an elegant design.
The details are as follows:
1. I have a class which defines my data structure within my application. It is serialisable etc.
2. I also have a handful of forms which contain controls which I want to use to read/write to and from my data class.
What I am looking for is a way in which I can link a control to a particular variable within my data class. (ie. I have a TextBox, and whenever the text changes I would like a particular variable in my data class to also change).
Bear in mind that I have multiple forms which all must link to variables within the one data class, and I don't want to have to handle a new OnTextChanged event for every single control.
Thank you in advance for any ideas.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|