任何Windows窗体应用程序最常见的设计模式是什么? [英] What is the most common design patterns for any windows forms application?

查看:294
本文介绍了任何Windows窗体应用程序最常见的设计模式是什么?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在询问,因为我将使用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:

  • 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屋!

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