论坛


2009年1月3日 星期六

C# 语法练习(15): 接口

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

接口只声明、无实现、不能实例化;接口可包含方法、属性、事件、索引器, 但无字段;接口成员都是隐式的 public, 不要使用访问修饰符;类、结构和接口都可以继承多个接口;继承接口的类必须实现接口成员, 除非是抽象类;类实现的接口成员须是公共的、非静态的.入门示例:usi...

GDI+用PNG图片做半透明异型窗口

幸福苹果| 幸福苹果-delphi |18:35:00

http://hi.baidu.com/bluew/blog/item/2ecbe58bf93a937d9f2fb4de.html2007-08-09 00:52  我是用PNG图片Alpha透明的方式做的窗口,这种方法一个好处就是不阅读全文类别:delphi编程 查看评论

Delphi单元文件详解

幸福苹果| 幸福苹果-delphi |18:31:00

http://hi.baidu.com/swgweb/blog/item/f2b64afb869f8261024f5654.html2008年04月24日 星期四 23:37Delphi单元文件1.库单元文件头:其中声明了库单元的名字.阅读全文类别:delphi编程 查看评论

C# 语法练习(14): 类[六] - 事件

万一| 万一的 Delphi 博客 |17:18:00

using System; class MyClass { private int FNum; public delegate void MyDelegate(int n); /* 委托是事件的前提 */ public event MyDelegate MyEvent; /* 用 event 关键字根据已有的委托声明事件 */ /* 假如是在给 Num 赋值时触动事件 ...

像QQ窗口抖动一样的简单方法

DELPHI盒子| Delphi盒子 |16:01:00

这是我在盒子上发的第二个小程序,给单位局域网做了个报警程序,突然想到在向别人发信息时为引起别人注意。可以使窗口抖动!便下了这段代码,特别简单!

如何在 "万一的 Delphi 博客" 回复自动格式化的着色代码?

万一| 万一的 Delphi 博客 |15:28:00

1、先提交回复, 第一次提交时先不要代码, 可有文字;2、再修改回复, 修改时包其中的 <br/> 换行标记, 也可以用 <br/> 添加新的换行;3、然后按下面方式提交回复://Delphi 代码...//C/C++ 代码...//C# 代码...注意: 重新开启才能看到效果; 建议把上面文本加入到输...

C# 语法练习(13): 类[五] - 索引器

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

通过索引器可以方便使用类中的数组(或集合)成员:using System; class MyClass { private float[] fs = new float[3] { 1.1f, 2.2f, 3.3f }; /* 属性 */ public int Length { get { return fs.Length; } set { fs = new float[val...

DirectShow stream source!

CodeGear| CodeGear-CodeCentral Delphi |12:07:12

As I do not have time to keep up with it, here is the source to the filter.In the meantime, there is already a class which might do some of the work (TBCPullPin); in this case, the source could be simplified.I also didn't get it quickly to compile...

Small Business Billing Software

delphi3000| delphi3000.com |12:00:00

Professional invoice management program is an intuitive application developed to record detail information of products, customers and companies. Software facilitates users to maintain data integrity and consistency while generating business report...

MSSQL to MySQL Conversion Software Ex

delphi3000| delphi3000.com |12:00:00

Database migration tool converts data from MSSQL to MySQL. MSSQL to MySQL database converter software transfers all attributes and information of Microsoft SQL to MySQL. Database converter software supports all version of MSSQL server.