Implementing MVVM in WPF without using System.Windows.Input.ICommand

后端 未结 8 1593
醉梦人生
醉梦人生 2021-02-06 04:43

I\'m trying to implement a WPF application using MVVM (Model-View-ViewModel) pattern and I\'d like to have the View part in a separate assembly (an EXE) from the Model and ViewM

8条回答
  •  死守一世寂寞
    2021-02-06 05:13

    " you can't reuse a WPF MVVM in a WinForms application"

    For this please see url http://waf.codeplex.com/ , i have used MVVM in Win Form, now whenver i would like to upgrade application's presentation from Win Form to WPF, it will be changed with no change in application logic,

    But i have one issue with reusing ViewModel in Asp.net MVC, so i can make same Desktop win application in Web without or less change in Application logic..

    Thanks...

提交回复
热议问题