Design question for forms and data models

G

Guest

Here's the classes I have: One form to display the data, one large data model
class to handle "data change" events, and one or more smaller data model
classes (representing each piece of data).

So that's what I have so far, and I want to use events and delegates to
notify that the data has changed, but.....I don't know how to tie it all
together. Do I use threads or do I create an arraylist of small data models
within the form and an instance of the large data model within the form, or
what? I'm a little lost with this design, so any thoughts would help.
Thanks!
 
G

Guest

Have a look at MVC,
google for "model view controller patterns c#"
I've just ported a mfc doc/view application and used this type of pattern,
it's quite easy to implement.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top