|
|
|
|
Infix to Postfix |
   |
简 介:
This is the JavaScript Implementation of converting an Infix(Inorder) expression to Postfix(Postorder) expression.
Infix to Postfix这个 JavaScript 可以实现将中序表达式转换为后序表达式。
来源: https://java.ittoolbox.com/code/d.asp?d=1972&a=s |
分 类:
|
许可证:
GNU General Public License (GPL) |
|
Introduction to Maintaining User-Specifi |
   |
简 介:
The .NET framework provides a very useful feature that allows an application to store and retrieve data on a per-user basis. This new Isolated Storage mechanism replaces the previous methods of storing such data in Windows .ini files and the system Registry. Isolated Storage allows applications to save user-specific data into a unique location determined via the user and assembly identities. This effectively eliminates storage conflicts and provides the developer with a completely transparent and reliable storage location.
.NET 框架提供了一个非常有用的功能,可以让一个应用程序在每-用户的基础上保存和检索数据。这种新的分离存储机制取代了以前在 Windows .ini文件和注册表中存储数据的方法。分离存储可以让应用程序保存特定用户的数据到一个唯一的由用户和汇编身份决定的位置中。这样就有效地消除了存储冲突,为开发人员提供了一个完全透明的和可靠的存储空间。
来源: https://www.codeguru.com/cs_data/IsolatedStorage.html |
分 类:
|
许可证:
GNU General Public License (GPL) |
|
Subselection Dialog |
   |
简 介:
Often when the user can select some items from a predefined set and has to sort them at the same time, a dialog similar to the one above is used. For instance for selecting a set of fields for a database access or for exporting to a file.
The CSubSelectionDlg is derived from CDialog and can be used as a base for your own class. The included sample gives you a sample whith all the possibilities (CMySelectionDlg). You can create your own dialog template, but it needs (at least) two CListBoxes.
用户经常需要从一个预定义的集合中选择元素,并同时排序,使用一个类似的对话框来完成以上功能。例如为一个数据库访问选择一套字段,以导出到一个文件。
CSubSelectionDlg 类派生自 CDialog ,可以用于你自己的基类。包括了例子演示了所有的可能情况 (CMySelectionDlg)。可以创建自己的对话框模板,但它(至少)需要两个CListBoxes.
来源: https://www.codeguru.com/dialog/subselectiondlg.shtml |
分 类:
|
许可证:
GNU General Public License (GPL) |
|
Observer Pattern Class |
   |
简 介:
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'。类接口是非常简单的,只有几个内联函数,其中一个是虚拟函数,可以重载来实现更新函数。虽然它简单,但其强大的功能可以用于跟踪值的依赖关系,只在需要的时候更新值,以及只更新需要更新的值。
来源: https://www.codeguru.com/cpp_mfc/virzi_observer.shtml |
分 类:
|
许可证:
GNU General Public License (GPL) |
|
Postfix Evaluator |
   |
简 介:
This JavaScript evaluates a Postfix(Postorder) expression.
Postfix Evaluator这个 JavaScript 可以计算一个后缀表达式的值。
来源: https://java.ittoolbox.com/code/d.asp?d=1973&a=s |
分 类:
|
许可证:
GNU General Public License (GPL) |
|
Running Worker Thread in C# Beta |
   |
简 介:
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 线程,它们创建对用户界面的同步调用(例如,线程可以读取一个长的记录集,填充窗体上的一些控件)。
来源: https://www.codeguru.com/cs_syntax/WorkerThread.html |
分 类:
|
许可证:
GNU General Public License (GPL) |
|
Attaching Elements to Borders |
   |
简 介:
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类,你可以将任意元素的每个边界对齐到父窗口的边界上。这意味着,如果你修改对话框的大小,其元素的大小或位置(或二者)都会改变。通常对话框窗体中的每个元素加到窗体的左上角。如果你改变对话框的大小,元素依旧会位于原位,什么也没有改变。使用这个类,可以将一个按钮附加到对话框的右边。当你调整对话框的大小时,按钮会按同样的方式移动。
来源: https://www.codeguru.com/dialog/constraint.shtml |
分 类:
|
许可证:
GNU General Public License (GPL) |
|
Bridge Pattern - Bridging the gap betwee |
   |
简 介:
Bridge Pattern - Bridging the gap between Interface and Implementation
桥(Bridge )模式-连接接口和实现的桥梁。
来源: https://www.codeguru.com/cpp_mfc/bridge.shtml |
分 类:
|
许可证:
GNU General Public License (GPL) |
|
Infix~Postfix Last updated: Sep 16 2002 |
   |
简 介:
This is the JavaScript using which you can convert an Infix expression (Inorder) to Postfix expression(Postorder) and also evaluates the Postfix expression.
使用这个 JavaScript ,你可以将一个中序表达式转换成一个后序表达式,并计算后序表达式。
来源: https://java.ittoolbox.com/code/d.asp?d=1975&a=s |
分 类:
|
许可证:
GNU General Public License (GPL) |
|
Components in C# |
   |
简 介:
How to create a component in C#.  
演示了如何在C#中创建组件。
来源: https://www.codeguru.com/cs_syntax/csComp.html |
分 类:
|
许可证:
GNU General Public License (GPL) |
|
|
|
|
|