论坛


2011年1月6日 星期四

Overloading Delphi’s ShowMessage to accept Integer, Boolean, Float, ...

About.com| About.com Delphi Programming |02:00:33

inDelphi TIPS:: Delphi's ShowMessage procedure, defined in the dialogs.pas unit, displays a message in a dialog box, waits for the user to click an OK button.I'm using the ShowMessage procedure frequently while developing applications as a "debugg...

2011年1月5日 星期三

学用 ASP.Net 之 System.Collections.SortedList 类

万一| 万一的 Delphi 博客 |22:09:00

SortedList 是能自动排序的 "Key/Value" 列表类(排序是根据 Key), 并能通过索引访问元素.它像是 Hashtable(哈希表)的升级, 它们的每个元素都是视为一个 DictionaryEntry(Key/Value) 结构体.正因为它比 Hashtable 多出了排序和索引, 所以效率不及 Hashtable.主要成员:...

Delphi Labs: First DataSnap Step-By-Step Tutorial is Live

Pawel Glowacki| Pawel Glowacki |20:50:55

Today I am starting "Delphi Labs’! A new serie of Delphi tutorials for everybody to learn and enjoy. Every tutorial is going to consist of a technical article with instructions how to build a sample project, source code and a video episode. ...

学用 ASP.Net 之 System.Collections.Queue 与 Stack 类

万一| 万一的 Delphi 博客 |16:31:00

Queue(队列)是先进先出的集合; Stack(堆栈)是后进先出的集合.Queue 的主要成员:/* 属性 */ Count; //元素数 /* 方法 */ Clear(); //清空 Contains(); //是否包含 Dequeue(); //出列 Enqueue(); //入列 Peek(); //获取将要出列的Stack 的主要成员:/* ?..

学用 ASP.Net 之 System.Collections.BitArray 类

万一| 万一的 Delphi 博客 |16:19:00

常用成员:/* 属性 */ Count; //只读 Length; //同 Count, 但可读写 /* 方法 */ And(); //与 Get(); //取值 Not(); //取反 Or(); //或 Set(); //赋值 SetAll(); //全部设定为指定值 Xor(); //异或练习://(items)[]、Get()、Set() protected ...

Delphi Labs: DataSnap XE - Simple Calculator Service

Embarcadero| EDN Delphi Feed |05:26:17

Debugging multithreaded applications

Embarcadero| EDN Delphi Feed |04:22:57

学用 ASP.Net 之 System.Collections.Hashtable 类与 DictionaryEntry 结构

万一| 万一的 Delphi 博客 |00:19:00

DictionaryEntry 是包含 Key / Value 一对值的简单结构;Hashtable(哈希表)是一组 Key / Value 的集合, 准确地讲是一组 DictionaryEntry 的集合.DictionaryEntry 简例:protected void Button1_Click(object sender, EventArgs e) { DictionaryEntry d1; d1.Ke...

2011年1月4日 星期二

Delphi XE的RTTI增强,动态Hook某些内部事件

不得闲| 得闲笔记 |22:50:00

Delphi2010之后的RTTI做了很大休整,现在用起来很爽了哦。甚至可以获取某些类的内部私有单元,然后为其赋值!讲这个RTTI增强的,可以参考网上的多个博客内容,我列举一下:Delphi2010RTTI的增强Delphi的Anymouse方法探秘万一的Rtti系列我这里的主要目的是挂钩某些内?..

学用 ASP.Net 之 System.TimeSpan 结构

万一| 万一的 Delphi 博客 |14:13:00

TimeSpan 表示一个时间间隔, 如:protected void Button1_Click(object sender, EventArgs e) { DateTime dt1 = new DateTime(2010, 1, 2, 3, 4, 5); DateTime dt2 = new DateTime(2011, 6, 6, 6, 6, 6); TimeSpan ts = dt2 - dt1; TextBox1.Text =...

Get The Name Of The Windows OS Installed on a Machine

About.com| About.com Delphi Programming |05:05:26

inOLE Examples:: Windows Management Instrumentation (WMI) is the infrastructure for management data and operations on Windows-based operating systems. You can use Delphi to communicate with WMI by using ...Read Full Post

2011年1月3日 星期一

学用 ASP.Net 之 System.DateTime 结构

万一| 万一的 Delphi 博客 |21:07:00

成员:/* 字段 */ DateTime.MaxValue; //9999/12/31 23:59:59 DateTime.MinValue; //0001/01/01 00:00:00 /* 静态属性 */ DateTime.Now; //当前日期和时间 DateTime.Today; //当前日期 DateTime.UtcNow; //当前日期和时间(UTC) /* 静态方法 */ DateTime.Compare...

学用 ASP.Net 之 System.Math 类

万一| 万一的 Delphi 博客 |14:58:00

成员:/* 常量字段 */ Math.E; //2.71828182845905 Math.PI; //3.14159265358979 /* 静态方法 */ Math.Abs; //绝对值 Math.Acos; //反余弦 Math.Asin; //反正弦 Math.Atan; //反正切 Math.Atan2; ...

学用 ASP.Net 之 System.Random 类

万一| 万一的 Delphi 博客 |10:49:00

成员:Next(); //获取 0 .. int.MaxValue 的 int 随机数; 可指定范围 NextBytes(); //获取 0 .. 255 的随机数并填充字节数组 NextDouble(); //获取 0 .. 1 的 double 随机数构造函数://不指定随机种子, 则默认有系统时钟生成种子 protected void Button1_Click...

Delphi Labs: DataSnap XE - Simple Calculator Service

Embarcadero| CodeCentral Delphi Submissions |07:01:38

This is the source code for the EDN article "Delphi Labs: DataSnap XE - Simple Calculator Service".We are using Delphi XE to build simple calculator service for performing basic arithmetic operations like add, subtract, multiply ...

« 上一页

下一页 »