【发布时间】:2011-04-06 00:24:09
【问题描述】:
我是 WPF 新手,看了这篇文章后,
MVVM-Pattern for a Diagraming Application with WPF - Convert enum to xxxViewModel
我想知道是否可以使用或鼓励将 MVVM 用于我喜欢尝试的简单应用:
- 这个简单的应用程序是一个 WPF 流程图设计器,它允许用户将图标添加到画布,使它们相互关联。
另外,我想知道开发人员如何实现代码隐藏,其中活动节点在 while 循环中的一小段时间后突出显示。
假设拖放后应用中有3个节点。
time active node
1st-5ths A
6th-10th B (active node moved from A to B)
11th-15th C (active node moved from B to C)
16th-20th A (active node from C to A because of while loop link)
这是否适合使用 MVVM 模式?
谢谢
【问题讨论】:
标签: c# .net wpf mvvm flowchart