WPF中的MVP和MVC [英] MVP and MVC in WPF

查看:198
本文介绍了WPF中的MVP和MVC的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好,

我曾尝试在WPF中使用MVVM设计模式,但发现它具有挑战性.

任何人都可以指出我在WPF中如何使用MVC/MVP的一些教程的方向.

我已经搜索过此文件,但很遗憾,我没有找到任何相关的文件.

在此先感谢您.

Hi all,

I have tried using the MVVM design pattern in WPFbut have found it challenging.

Could anyone point me in the direction of some tutorials in how to use MVC/MVP in WPF.

I have searched this but unfortunately I havent found anything relevant.

Thanks in advance.

推荐答案

本文 [ ^ ]由乔什·史密斯 [ ^ ]是互联网上最好的网站之一.这是具有挑战性的,但是后来,正如我以前的一位导演一样,他不会说如果这很容易,女孩们就可以做到".

[edit]死了的撇号![/edit]
This article[^] by Josh Smith[^] is one of the best on the internet. It is challenging but then, as one of my previous Directors was wont to say "If it was easy the girls could do it".

[edit]Out, damned apostrophe![/edit]


MVVM确实是您应该追求的模式,只需花更多的时间就可以了.如果您绝对想使用MCV/MVP,请查看它如何在WinForms中实现,并且应该能够在WPF中实现.

WPF模式:MVC,MVP或MVVM或..? [ ^ ]可能有些您感兴趣.
MVVM is really the pattern you should go for, just spend more time on it and you''ll get it. If you absolutely want to use MCV/MVP then see how it''s implemented in WinForms and you should be able to implement it in WPF.

WPF patterns : MVC, MVP or MVVM or..?[^] might be of some interest to you.


这篇关于WPF中的MVP和MVC的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆