任何Windows窗体应用程序最常见的设计模式是什么? [英] What is the most common design patterns for any windows forms application?
问题描述
我正在询问,因为我将使用c#开发一个客户端应用程序来显示股票数据并进行一些用户交互,所以给我链接你在
I am asking about that as I am going to develop a client side application using c# to display stock data and make some user-interaction, so give me links for best tutorials you read before
推荐答案
杰里米·米勒的指南是一个很好的起点。它涵盖几个重要的模式,包括:
Jeremy Miller's guide is an excellent starting place. It covers several important patterns including:
- 模型 - 视图 - 控制器 - 有几种风格,确保您检查所有
-
- a href =http://codebetter.com/blogs/jeremy.miller/pages/build-your-own-cab-14-managing-menu-state-with-microcontroller-s-command-sa-layer-supertype-命令模式
- 命令模式 http://codebetter.com/blogs/jeremy.miller/archive/2008/01/15/build-your-own-cab-17-boil-down-the-quot-wiring-quot-to-a-registry .aspxrel =nofollow norefer rer>注册表
- Model - View - Controller - There are several flavours, make sure you examine them all
- Automated unit testing of GUI binding code
- Command pattern
- Registry
您还将要查看控制反转和依赖性反转。 Fowler的概述很好地解释了这个概念。当你看这个,这是一个教程只是IoC工具的一个实现。
You will also want to look at inversion of control and dependency inversion. Fowler's overview does a good job of explaining the concept. When you've looked at this, here is a tutorial on just one implementation of an IoC tool.
如果您仍然渴望更多,请查看 Rich Newman的系列在微软的复合应用程序块。 CAB充满了模式,但是避免了正式的文档,因为它是臭名昭着的困难。
If you are still hungry for more, check out Rich Newman's series on Microsoft's Composite Application Block. The CAB is chock full of patterns, but avoid the official documentation as it is notoriously difficult.
这篇关于任何Windows窗体应用程序最常见的设计模式是什么?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!