How would you implement MVC in a Windows Forms application?

前端 未结 6 840
轮回少年
轮回少年 2020-11-27 11:04

I don\'t develop too many desktop / Windows Forms applications, but it had occurred to me that there may be some benefit to using the MVC (Model View Controller) pattern for

6条回答
  •  伪装坚强ぢ
    2020-11-27 11:42

    Take a look at the MS Patterns and Practices Smart Client application block which has some guidance and classes which walk you through implementing a model view presenter patter in windows forms - take a look at the reference application included.

    For WPF this is being superseced by the prism project

    The software factories approach is a great way to learn best practices

提交回复
热议问题