首页 | 本学科首页   官方微博 | 高级检索  
     

在Visual Basic中实现观察者模式
引用本文:刘楠. 在Visual Basic中实现观察者模式[J]. 电脑开发与应用, 2007, 20(2): 38-40
作者姓名:刘楠
作者单位:军事经济学院研究生二队,武汉,430035
摘    要:设计模式在面向对象软件设计中应用广泛,遵循一定的编程模式才能使自己的代码便于理解,易于交流。介绍了一种常见的设计模式一一观察者模式,分析了在V isual Basic中实现观察者模式的可行性。Observer(观察者)模式是比较常用的一个模式,尤其在界面设计中应用广泛,文中通过样例提供了该模式的一个基本实现方法。

关 键 词:观察者模式  设计模式  VB
文章编号:1003-5850(2007)02-0038-03
修稿时间:2006-10-25

Observer Pattern in Visual Basic
Liu Nan. Observer Pattern in Visual Basic[J]. Computer Development & Applications, 2007, 20(2): 38-40
Authors:Liu Nan
Abstract:Design pattern is used extensively in object-oriented software design. Following a certain design mode,it is easy to understand the code and easy to communicate.This paper presents a kind of common design pattern__Observer pattern,and analysis the implementation of Observer pattern in Visual Basic.Observer pattern is a commonly used pattern,especially used in interface design.Finally,an essential implementation method of Observer pattern is provided in a sample application.
Keywords:Observer pattern  design patterns  visual basic(VB)
本文献已被 CNKI 维普 万方数据 等数据库收录!
设为首页 | 免责声明 | 关于勤云 | 加入收藏

Copyright©北京勤云科技发展有限公司  京ICP备09084417号