joeldevlearning / wf-poll

A WinForms Poll App
0 stars 0 forks source link

Update view from single object #4

Closed joeldevlearning closed 7 years ago

joeldevlearning commented 7 years ago

Right now CandidateList and PollResult - plus a dictionary containing PollResult - hold the data needed to model the polling data. We need to concentrate these into one object. Then a single "ViewModel" can sync with this object.

joeldevlearning commented 7 years ago

Working on this in feature-polldata-class

joeldevlearning commented 7 years ago

The view layer (PollForm) is now only update via the ViewModel, which is backed by the PollModel https://github.com/joeldevlearning/wf-poll/commit/04e881167be3a96ac4d0a0bbcad027761823e517