|
|
Observer Pattern Class |
![项目详情](images/url_homepage.gif) ![下载](images/url_tgz.gif) ![排行](images/rate.gif) |
简 介:
The class CObserver is a base class from which you can derive both observer and subject classes. An 'observer' object is one whose internal state depends upon the internal state of one or more other objects. The objects that it depends on are referred to as 'subjects'. The class interface is very simple, having only a few inline functions, one of which is virtual and can be overridden to implement the update function. In spite of its simplicity, it can be used in very powerful ways to keep track of value dependencies and only update values when they are needed and only those values that need updating.
CObserver 是一个基类,从它可以派生观察器(observer)和主题 (subject)类。 'observer'对象的内部状态依赖一个或多个其它对象的内部状态。依赖的对象称为'subjects'。类接口是非常简单的,只有几个内联函数,其中一个是虚拟函数,可以重载来实现更新函数。虽然它简单,但其强大的功能可以用于跟踪值的依赖关系,只在需要的时候更新值,以及只更新需要更新的值。
来源: http://www.codeguru.com/cpp_mfc/virzi_observer.shtml |
分 类:
|
许可证:
GNU General Public License (GPL) |
|
Postfix Evaluator |
![项目详情](images/url_homepage.gif) ![下载](images/url_tgz.gif) ![排行](images/rate.gif) |
简 介:
This JavaScript evaluates a Postfix(Postorder) expression.
Postfix Evaluator这个 JavaScript 可以计算一个后缀表达式的值。
来源: http://java.ittoolbox.com/code/d.asp?d=1973&a=s |
分 类:
|
许可证:
GNU General Public License (GPL) |
|
Running Worker Thread in C# Beta |
![项目详情](images/url_homepage.gif) ![下载](images/url_tgz.gif) ![排行](images/rate.gif) |
简 介:
NET framework allows a lot of ways to implement multithreading program. I want to show how we can run worker thread which makes synchronous calls to user interface (for example, thread reads a long recordset and fills some control in the form).
DOT NET 框架中可以用许多方法来实现多线程应用程序。我想演示如何运行worker 线程,它们创建对用户界面的同步调用(例如,线程可以读取一个长的记录集,填充窗体上的一些控件)。
来源: http://www.codeguru.com/cs_syntax/WorkerThread.html |
分 类:
|
许可证:
GNU General Public License (GPL) |
|
Attaching Elements to Borders |
![项目详情](images/url_homepage.gif) ![下载](images/url_tgz.gif) ![排行](images/rate.gif) |
简 介:
With the XConstraint-class you will be able to attach every border of any element to a border of the parent dialog. This means, if you change the size of the dialog, the size or position (or both) of the attached elements will also change. Normaly, every Element inside a dialog-window was attached to the left, upper corner. If you resize the dialog, the elements stay at their place and nothing changes. With this class, it's possible to attach a button to the right corner of the dialog. When you now resize the dialog, the button moves in the same way the dialog grows.
使用这个 XConstraint类,你可以将任意元素的每个边界对齐到父窗口的边界上。这意味着,如果你修改对话框的大小,其元素的大小或位置(或二者)都会改变。通常对话框窗体中的每个元素加到窗体的左上角。如果你改变对话框的大小,元素依旧会位于原位,什么也没有改变。使用这个类,可以将一个按钮附加到对话框的右边。当你调整对话框的大小时,按钮会按同样的方式移动。
来源: http://www.codeguru.com/dialog/constraint.shtml |
分 类:
|
许可证:
GNU General Public License (GPL) |
|
Bridge Pattern - Bridging the gap betwee |
![项目详情](images/url_homepage.gif) ![下载](images/url_tgz.gif) ![排行](images/rate.gif) |
简 介:
Bridge Pattern - Bridging the gap between Interface and Implementation
桥(Bridge )模式-连接接口和实现的桥梁。
来源: http://www.codeguru.com/cpp_mfc/bridge.shtml |
分 类:
|
许可证:
GNU General Public License (GPL) |
|
Infix~Postfix Last updated: Sep 16 2002 |
![项目详情](images/url_homepage.gif) ![下载](images/url_tgz.gif) ![排行](images/rate.gif) |
简 介:
This is the JavaScript using which you can convert an Infix expression (Inorder) to Postfix expression(Postorder) and also evaluates the Postfix expression.
使用这个 JavaScript ,你可以将一个中序表达式转换成一个后序表达式,并计算后序表达式。
来源: http://java.ittoolbox.com/code/d.asp?d=1975&a=s |
分 类:
|
许可证:
GNU General Public License (GPL) |
|
Components in C# |
![项目详情](images/url_homepage.gif) ![下载](images/url_tgz.gif) ![排行](images/rate.gif) |
简 介:
How to create a component in C#.  
演示了如何在C#中创建组件。
来源: http://www.codeguru.com/cs_syntax/csComp.html |
分 类:
|
许可证:
GNU General Public License (GPL) |
|
Creating a Round Dialog |
![项目详情](images/url_homepage.gif) ![下载](images/url_tgz.gif) ![排行](images/rate.gif) |
简 介:
This code is used to make a round dialog for various Apps. This could be good for use with an MP3 or CDPLAYER or any other.
这个代码用于在应用程序中创建一个圆角对话框,可以用于MP3或 CDPLAYER ,或其它任何应用程序。
来源: http://www.codeguru.com/dialog/RoundDialog.shtml |
分 类:
|
许可证:
GNU General Public License (GPL) |
|
Applying Strategy Pattern in C++ Applica |
![项目详情](images/url_homepage.gif) ![下载](images/url_tgz.gif) ![排行](images/rate.gif) |
简 介:
Applying Strategy Pattern in C++ Applications
在C++应用程序中使用策略(Strategy )模式。
来源: http://www.codeguru.com/cpp_mfc/strategy.shtml |
分 类:
|
许可证:
GNU General Public License (GPL) |
|
JavaScript Ticker (using Tabular Data Co |
![项目详情](images/url_homepage.gif) ![下载](images/url_tgz.gif) ![排行](images/rate.gif) |
简 介:
This JavaScript Ticker is an example of a ticker.
JavaScript Ticker 是一个时钟的例子。
来源: http://java.ittoolbox.com/code/d.asp?d=1993&a=s |
分 类:
|
许可证:
GNU General Public License (GPL) |
|
|
|
|