文件名称:Observer-Thread-sample
介绍说明--下载内容均来自于网络,请自行研究使用
考虑到这些应用, 比较合适的就是 Observer (观察者) 模式, 不仅可以动态的加入/移出观察者, 也能够让线程类 (Core) 和显示类 (UI) 之间脱耦. 可谓一举多得. 于是我就试着写了个线程搜索路径下所有文件的例子, 在其中应用了 Observer 模式.-Decoupling between the consideration of these applications is more appropriate Observer (Observer) mode, not only can dynamically added/removed the viewer, but also allow thread class (Core) and display type (UI). Has multiple purposes. So I tried to write an example of all the files in the search path of the next thread in which the application of the Observer pattern.
(系统自动生成,下载前可以参看下载内容)
下载文件列表
Bin\Build with BDS2006\ThreadFileSearchDemo.exe
...\Build with BDS2006
...\...........Delphi7\ThreadFileSearchDemo.exe
...\Build with Delphi7
Bin
Compile.inc
DemoThreadFileSearch.dfm
DemoThreadFileSearch.pas
FileFoundSubjectDispatcher.pas
FileSearchThread.pas
ObserverDispatcher.pas
SearchEngine.pas
ThreadFileSearchDemo.bdsproj
ThreadFileSearchDemo.dpr
Readme.txt
upp_ThreadFileSearchDemo.gif
VIP会员.htm
查看帮助.txt
会员服务.txt
Bin\Build with BDS2006\lpk.dll
...\...........Delphi7\lpk.dll