博客园  :: 首页  :: 新随笔  :: 联系 :: 订阅 订阅  :: 管理

05 2009 档案

摘要:策略类Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/--12{《HeadFirst设计模式》之策略模式}3{本单元中的类为策略类}4{编译工具:Delphi7.0 }5{E-Mail:guzh-0417@163.com}67unituStrategy;8... 阅读全文

posted @ 2009-05-30 13:30 都市牧羊 阅读(667) 评论(0) 推荐(0)

摘要:被装饰者 Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/--12{《HeadFirst设计模式》之装饰模式 }3{本单元中的类为被装饰者}4{编译工具:Delphi7.0}5{E-Mail:guzh-0417@163.com}67unituCompone... 阅读全文

posted @ 2009-05-29 12:12 都市牧羊 阅读(610) 评论(0) 推荐(0)

摘要:复杂的子系统Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/--1unituSubObject;23interface45type67{TAmplifier与TTuner,TCDPlayer,TDVDPlayer相互依赖。}8{在TTuner等的简单实现时... 阅读全文

posted @ 2009-05-24 18:46 都市牧羊 阅读(690) 评论(0) 推荐(0)

摘要:命令的接收者Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/--12{《HeadFirst设计模式》之命令模式}3{本单元中的类为命令的接收者}4{编译工具:Delphi7.0}5{联系方式:guzh-0417@163.com}67unituReceive... 阅读全文

posted @ 2009-05-05 15:19 都市牧羊 阅读(840) 评论(4) 推荐(0)

摘要:命令模式可以很轻松的实现撤销(Undo)功能。命令的接受者:命令的接受者Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/--1unituReceiveObject;23interface45type6TLight=class(TObject)7public... 阅读全文

posted @ 2009-05-03 10:23 都市牧羊 阅读(496) 评论(0) 推荐(0)

摘要://命令的接受者 unit uReceiveObject; interface type TLight = class(TObject) public procedure Open; procedure Off; end; TGarageDoor = class(TObject) public procedure Up; procedure ... 阅读全文

posted @ 2009-05-02 22:38 都市牧羊 阅读(1085) 评论(0) 推荐(0)