mrts / winforms-mvp

Windows Forms example of the Passive View variant of the Model-View-Presenter pattern

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Passive view Model-View-Presenter in Windows Forms

There are remarkably few straightforward, minimal examples of the Passive view (or Humble dialog) variety of the Model-View-Presenter pattern for Windows Forms.

This project aims to fill the gap.

The common MVVM way of using INotifyPropertyChanged to connect the model to the view and have no presenter or the presenter as a bystander takes us to the Supervising Controller land. Here, by design, everything is managed by the Presenter instead.

The design is as follows:

MVP class diagram

About

Windows Forms example of the Passive View variant of the Model-View-Presenter pattern


Languages

Language:C# 100.0%