委托示例(利用委托对不同类型的对象数组排序)
来源:互联网 发布:淘宝设计网 编辑:程序博客网 时间:2024/05/16 08:53
1
using System;
2
using System.Collections.Generic;
3
using System.Text;
4![](http://www.cnblogs.com/Images/OutliningIndicators/None.gif)
5
namespace delegateTest
6![](http://www.cnblogs.com/Images/OutliningIndicators/ExpandedBlockStart.gif)
![](http://www.cnblogs.com/Images/OutliningIndicators/ContractedBlock.gif)
{
7![](http://www.cnblogs.com/Images/OutliningIndicators/ExpandedSubBlockStart.gif)
/**//// <summary>
8
/// 演示利用委托给不同类型的对象排序
9
/// </summary>
10
class Program
11![](http://www.cnblogs.com/Images/OutliningIndicators/ExpandedSubBlockStart.gif)
{
12
delegate bool CompareOp(object lhs,object rhs);//声明委托(注意方法签名的格式是两个object类型参数)
13![](http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif)
14
static void Main(string[] args)
15![](http://www.cnblogs.com/Images/OutliningIndicators/ExpandedSubBlockStart.gif)
{
16![](http://www.cnblogs.com/Images/OutliningIndicators/ExpandedSubBlockStart.gif)
Employee[] employees =
{
17
new Employee("Bugs Bunny",20000),
18
new Employee("Elmer Fudd",10000),
19
new Employee("Daffy Duck",25000),
20
new Employee("Wiley Coyote",(decimal)1000000.38),
21
new Employee("Foghorn Leghorn",23000),
22
new Employee("Road Runner",50000)
23
};
24![](http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif)
25
CompareOp c1 = new CompareOp(Employee.CompareEmploySalary);
26![](http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif)
27
BubbleSorter.Sort(employees, c1);//对employees数组,按工资高低排序
28![](http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif)
29
for (int i = 0; i < employees.Length; i++)
30![](http://www.cnblogs.com/Images/OutliningIndicators/ExpandedSubBlockStart.gif)
{
31
Console.WriteLine(employees[i].ToString());
32
}
33![](http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif)
34
Console.WriteLine("---------------------------------------");
35![](http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif)
36![](http://www.cnblogs.com/Images/OutliningIndicators/ExpandedSubBlockStart.gif)
object[] ints =
{ 3, 5, 2, 8, 6, 0 };
37![](http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif)
38
c1 = new CompareOp(CompareInt);
39
BubbleSorter.Sort(ints, c1);//对ints数组,按数值大小排序
40
for (int i = 0; i < ints.Length; i++)
41![](http://www.cnblogs.com/Images/OutliningIndicators/ExpandedSubBlockStart.gif)
{
42
Console.WriteLine(ints[i].ToString());
43
}
44![](http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif)
45
Console.WriteLine("---------------------------------------");
46![](http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif)
47
Console.ReadLine();
48
}
49![](http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif)
50![](http://www.cnblogs.com/Images/OutliningIndicators/ExpandedSubBlockStart.gif)
/**//// <summary>
51
/// 比较整数的大小
52
/// </summary>
53
/// <param name="x">整数1</param>
54
/// <param name="y">整数2</param>
55
/// <returns>如果第一个数小于第二数,返回true,反之false</returns>
56
static bool CompareInt(object x, object y)
57![](http://www.cnblogs.com/Images/OutliningIndicators/ExpandedSubBlockStart.gif)
{
58
return (int)y>(int)x?true:false;
59
}
60![](http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif)
61![](http://www.cnblogs.com/Images/OutliningIndicators/ExpandedSubBlockStart.gif)
/**//// <summary>
62
/// 冒泡排序类
63
/// </summary>
64
class BubbleSorter
65![](http://www.cnblogs.com/Images/OutliningIndicators/ExpandedSubBlockStart.gif)
{
66
static public void Sort(object[] sortArray, CompareOp gtMethod)
67![](http://www.cnblogs.com/Images/OutliningIndicators/ExpandedSubBlockStart.gif)
{
68
for (int i = 0; i < sortArray.Length; i++)
69![](http://www.cnblogs.com/Images/OutliningIndicators/ExpandedSubBlockStart.gif)
{
70
for (int j = i + 1; j < sortArray.Length; j++)
71![](http://www.cnblogs.com/Images/OutliningIndicators/ExpandedSubBlockStart.gif)
{
72
if (gtMethod(sortArray[j], sortArray[i])) //比较大小,注:不同的object,比较大小的方法不同,比如Employee是按工资高低来比较,int是按数字大小来比较,利用委托的好处就在于不用管具体用哪种方法,具体调用的时候才确定用哪种方法
73![](http://www.cnblogs.com/Images/OutliningIndicators/ExpandedSubBlockStart.gif)
{
74
object temp = sortArray[i];
75
sortArray[i] = sortArray[j];
76
sortArray[j] = temp;
77
}
78
}
79![](http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif)
80
}
81
}
82
}
83
}
84![](http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif)
85
86![](http://www.cnblogs.com/Images/OutliningIndicators/ExpandedSubBlockStart.gif)
/**//// <summary>
87
/// 员工实体类
88
/// </summary>
89
class Employee
90![](http://www.cnblogs.com/Images/OutliningIndicators/ExpandedSubBlockStart.gif)
{
91
private string name;
92
private decimal salary;
93![](http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif)
94![](http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif)
95![](http://www.cnblogs.com/Images/OutliningIndicators/ExpandedSubBlockStart.gif)
/**//// <summary>
96
/// Employee构造函数
97
/// </summary>
98
/// <param name="name"></param>
99
/// <param name="salary"></param>
100
public Employee(string name, decimal salary)
101![](http://www.cnblogs.com/Images/OutliningIndicators/ExpandedSubBlockStart.gif)
{
102
this.name = name;
103
this.salary = salary;
104
}
105![](http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif)
106![](http://www.cnblogs.com/Images/OutliningIndicators/ExpandedSubBlockStart.gif)
/**//// <summary>
107
/// 覆盖ToString()方法
108
/// </summary>
109
/// <returns></returns>
110
public override string ToString()
111![](http://www.cnblogs.com/Images/OutliningIndicators/ExpandedSubBlockStart.gif)
{
112
return string.Format(name + ",{0:c}", salary);
113
}
114![](http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif)
115![](http://www.cnblogs.com/Images/OutliningIndicators/ExpandedSubBlockStart.gif)
/**//// <summary>
116
/// 按员工工资高低比较大小
117
/// </summary>
118
/// <param name="lhs"></param>
119
/// <param name="rhs"></param>
120
/// <returns></returns>
121
public static bool CompareEmploySalary(object lhs, object rhs)
122![](http://www.cnblogs.com/Images/OutliningIndicators/ExpandedSubBlockStart.gif)
{
123
Employee empLhs = (Employee)lhs;
124
Employee empRhs = (Employee)rhs;
125
return (empRhs.salary > empLhs.salary) ? true : false;
126
}
127
}
128
}
129![](http://www.cnblogs.com/Images/OutliningIndicators/None.gif)
运行结果:![](http://www.cnblogs.com/Images/OutliningIndicators/None.gif)
2
![](http://www.cnblogs.com/Images/OutliningIndicators/None.gif)
3
![](http://www.cnblogs.com/Images/OutliningIndicators/None.gif)
4
![](http://www.cnblogs.com/Images/OutliningIndicators/None.gif)
5
![](http://www.cnblogs.com/Images/OutliningIndicators/None.gif)
6
![](http://www.cnblogs.com/Images/OutliningIndicators/ExpandedBlockStart.gif)
![](http://www.cnblogs.com/Images/OutliningIndicators/ContractedBlock.gif)
![](http://www.cnblogs.com/Images/dot.gif)
7
![](http://www.cnblogs.com/Images/OutliningIndicators/ExpandedSubBlockStart.gif)
![](http://www.cnblogs.com/Images/OutliningIndicators/ContractedSubBlock.gif)
8
![](http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif)
9
![](http://www.cnblogs.com/Images/OutliningIndicators/ExpandedSubBlockEnd.gif)
10
![](http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif)
11
![](http://www.cnblogs.com/Images/OutliningIndicators/ExpandedSubBlockStart.gif)
![](http://www.cnblogs.com/Images/OutliningIndicators/ContractedSubBlock.gif)
![](http://www.cnblogs.com/Images/dot.gif)
12
![](http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif)
13
![](http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif)
14
![](http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif)
15
![](http://www.cnblogs.com/Images/OutliningIndicators/ExpandedSubBlockStart.gif)
![](http://www.cnblogs.com/Images/OutliningIndicators/ContractedSubBlock.gif)
![](http://www.cnblogs.com/Images/dot.gif)
16
![](http://www.cnblogs.com/Images/OutliningIndicators/ExpandedSubBlockStart.gif)
![](http://www.cnblogs.com/Images/OutliningIndicators/ContractedSubBlock.gif)
![](http://www.cnblogs.com/Images/dot.gif)
17
![](http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif)
18
![](http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif)
19
![](http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif)
20
![](http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif)
21
![](http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif)
22
![](http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif)
23
![](http://www.cnblogs.com/Images/OutliningIndicators/ExpandedSubBlockEnd.gif)
24
![](http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif)
25
![](http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif)
26
![](http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif)
27
![](http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif)
28
![](http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif)
29
![](http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif)
30
![](http://www.cnblogs.com/Images/OutliningIndicators/ExpandedSubBlockStart.gif)
![](http://www.cnblogs.com/Images/OutliningIndicators/ContractedSubBlock.gif)
![](http://www.cnblogs.com/Images/dot.gif)
31
![](http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif)
32
![](http://www.cnblogs.com/Images/OutliningIndicators/ExpandedSubBlockEnd.gif)
33
![](http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif)
34
![](http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif)
35
![](http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif)
36
![](http://www.cnblogs.com/Images/OutliningIndicators/ExpandedSubBlockStart.gif)
![](http://www.cnblogs.com/Images/OutliningIndicators/ContractedSubBlock.gif)
![](http://www.cnblogs.com/Images/dot.gif)
37
![](http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif)
38
![](http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif)
39
![](http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif)
40
![](http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif)
41
![](http://www.cnblogs.com/Images/OutliningIndicators/ExpandedSubBlockStart.gif)
![](http://www.cnblogs.com/Images/OutliningIndicators/ContractedSubBlock.gif)
![](http://www.cnblogs.com/Images/dot.gif)
42
![](http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif)
43
![](http://www.cnblogs.com/Images/OutliningIndicators/ExpandedSubBlockEnd.gif)
44
![](http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif)
45
![](http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif)
46
![](http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif)
47
![](http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif)
48
![](http://www.cnblogs.com/Images/OutliningIndicators/ExpandedSubBlockEnd.gif)
49
![](http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif)
50
![](http://www.cnblogs.com/Images/OutliningIndicators/ExpandedSubBlockStart.gif)
![](http://www.cnblogs.com/Images/OutliningIndicators/ContractedSubBlock.gif)
51
![](http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif)
52
![](http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif)
53
![](http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif)
54
![](http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif)
55
![](http://www.cnblogs.com/Images/OutliningIndicators/ExpandedSubBlockEnd.gif)
56
![](http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif)
57
![](http://www.cnblogs.com/Images/OutliningIndicators/ExpandedSubBlockStart.gif)
![](http://www.cnblogs.com/Images/OutliningIndicators/ContractedSubBlock.gif)
![](http://www.cnblogs.com/Images/dot.gif)
58
![](http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif)
59
![](http://www.cnblogs.com/Images/OutliningIndicators/ExpandedSubBlockEnd.gif)
60
![](http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif)
61
![](http://www.cnblogs.com/Images/OutliningIndicators/ExpandedSubBlockStart.gif)
![](http://www.cnblogs.com/Images/OutliningIndicators/ContractedSubBlock.gif)
62
![](http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif)
63
![](http://www.cnblogs.com/Images/OutliningIndicators/ExpandedSubBlockEnd.gif)
64
![](http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif)
65
![](http://www.cnblogs.com/Images/OutliningIndicators/ExpandedSubBlockStart.gif)
![](http://www.cnblogs.com/Images/OutliningIndicators/ContractedSubBlock.gif)
![](http://www.cnblogs.com/Images/dot.gif)
66
![](http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif)
67
![](http://www.cnblogs.com/Images/OutliningIndicators/ExpandedSubBlockStart.gif)
![](http://www.cnblogs.com/Images/OutliningIndicators/ContractedSubBlock.gif)
![](http://www.cnblogs.com/Images/dot.gif)
68
![](http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif)
69
![](http://www.cnblogs.com/Images/OutliningIndicators/ExpandedSubBlockStart.gif)
![](http://www.cnblogs.com/Images/OutliningIndicators/ContractedSubBlock.gif)
![](http://www.cnblogs.com/Images/dot.gif)
70
![](http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif)
71
![](http://www.cnblogs.com/Images/OutliningIndicators/ExpandedSubBlockStart.gif)
![](http://www.cnblogs.com/Images/OutliningIndicators/ContractedSubBlock.gif)
![](http://www.cnblogs.com/Images/dot.gif)
72
![](http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif)
73
![](http://www.cnblogs.com/Images/OutliningIndicators/ExpandedSubBlockStart.gif)
![](http://www.cnblogs.com/Images/OutliningIndicators/ContractedSubBlock.gif)
![](http://www.cnblogs.com/Images/dot.gif)
74
![](http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif)
75
![](http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif)
76
![](http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif)
77
![](http://www.cnblogs.com/Images/OutliningIndicators/ExpandedSubBlockEnd.gif)
78
![](http://www.cnblogs.com/Images/OutliningIndicators/ExpandedSubBlockEnd.gif)
79
![](http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif)
80
![](http://www.cnblogs.com/Images/OutliningIndicators/ExpandedSubBlockEnd.gif)
81
![](http://www.cnblogs.com/Images/OutliningIndicators/ExpandedSubBlockEnd.gif)
82
![](http://www.cnblogs.com/Images/OutliningIndicators/ExpandedSubBlockEnd.gif)
83
![](http://www.cnblogs.com/Images/OutliningIndicators/ExpandedSubBlockEnd.gif)
84
![](http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif)
85
![](http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif)
86
![](http://www.cnblogs.com/Images/OutliningIndicators/ExpandedSubBlockStart.gif)
![](http://www.cnblogs.com/Images/OutliningIndicators/ContractedSubBlock.gif)
87
![](http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif)
88
![](http://www.cnblogs.com/Images/OutliningIndicators/ExpandedSubBlockEnd.gif)
89
![](http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif)
90
![](http://www.cnblogs.com/Images/OutliningIndicators/ExpandedSubBlockStart.gif)
![](http://www.cnblogs.com/Images/OutliningIndicators/ContractedSubBlock.gif)
![](http://www.cnblogs.com/Images/dot.gif)
91
![](http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif)
92
![](http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif)
93
![](http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif)
94
![](http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif)
95
![](http://www.cnblogs.com/Images/OutliningIndicators/ExpandedSubBlockStart.gif)
![](http://www.cnblogs.com/Images/OutliningIndicators/ContractedSubBlock.gif)
96
![](http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif)
97
![](http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif)
98
![](http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif)
99
![](http://www.cnblogs.com/Images/OutliningIndicators/ExpandedSubBlockEnd.gif)
100
![](http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif)
101
![](http://www.cnblogs.com/Images/OutliningIndicators/ExpandedSubBlockStart.gif)
![](http://www.cnblogs.com/Images/OutliningIndicators/ContractedSubBlock.gif)
![](http://www.cnblogs.com/Images/dot.gif)
102
![](http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif)
103
![](http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif)
104
![](http://www.cnblogs.com/Images/OutliningIndicators/ExpandedSubBlockEnd.gif)
105
![](http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif)
106
![](http://www.cnblogs.com/Images/OutliningIndicators/ExpandedSubBlockStart.gif)
![](http://www.cnblogs.com/Images/OutliningIndicators/ContractedSubBlock.gif)
107
![](http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif)
108
![](http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif)
109
![](http://www.cnblogs.com/Images/OutliningIndicators/ExpandedSubBlockEnd.gif)
110
![](http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif)
111
![](http://www.cnblogs.com/Images/OutliningIndicators/ExpandedSubBlockStart.gif)
![](http://www.cnblogs.com/Images/OutliningIndicators/ContractedSubBlock.gif)
![](http://www.cnblogs.com/Images/dot.gif)
112
![](http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif)
113
![](http://www.cnblogs.com/Images/OutliningIndicators/ExpandedSubBlockEnd.gif)
114
![](http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif)
115
![](http://www.cnblogs.com/Images/OutliningIndicators/ExpandedSubBlockStart.gif)
![](http://www.cnblogs.com/Images/OutliningIndicators/ContractedSubBlock.gif)
116
![](http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif)
117
![](http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif)
118
![](http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif)
119
![](http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif)
120
![](http://www.cnblogs.com/Images/OutliningIndicators/ExpandedSubBlockEnd.gif)
121
![](http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif)
122
![](http://www.cnblogs.com/Images/OutliningIndicators/ExpandedSubBlockStart.gif)
![](http://www.cnblogs.com/Images/OutliningIndicators/ContractedSubBlock.gif)
![](http://www.cnblogs.com/Images/dot.gif)
123
![](http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif)
124
![](http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif)
125
![](http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif)
126
![](http://www.cnblogs.com/Images/OutliningIndicators/ExpandedSubBlockEnd.gif)
127
![](http://www.cnblogs.com/Images/OutliningIndicators/ExpandedSubBlockEnd.gif)
128
![](http://www.cnblogs.com/Images/OutliningIndicators/ExpandedBlockEnd.gif)
129
![](http://www.cnblogs.com/Images/OutliningIndicators/None.gif)
Elmer Fudd,¥10,000.00
Bugs Bunny,¥20,000.00
Foghorn Leghorn,¥23,000.00
Daffy Duck,¥25,000.00
Road Runner,¥50,000.00
Wiley Coyote,¥1,000,000.38
---------------------------------------
0
2
3
5
6
8
---------------------------------------
- 委托示例(利用委托对不同类型的对象数组排序)
- 利用委托的一个实例-----BubbleSorter示例
- 利用委托求任意数组的最大值
- 用C#委托实现在不同排序规则下对数组的排序
- 委托的示例
- 简单的委托示例
- 委托的示例
- 利用"委托"实现对象实例按"多字段嵌套"排序
- 对委托的理解
- 对事件与委托的理解(3) 事件示例
- 经典的委托排序
- 委托示例
- 委托示例
- 委托示例
- 最精简的委托示例
- c#的委托代码示例
- c#的委托代码示例
- 委托的一個示例
- 删除浏览器缓存
- Javascript 将数据库中的数据写入WORD文档的表格中
- 30条优化措施准则
- 移植UCOS-II到ARM7TDMI
- 按Ctrl键会引发几次按键消息
- 委托示例(利用委托对不同类型的对象数组排序)
- DOM的使用心得
- PHP 超全局变量详解
- 动态生成水晶报表
- SetCapture可能影响快捷键
- PHP初学者头疼问题总结
- [经验总结]乱码的解决方案::给朋友的邮件当中提到的一些内容
- JS 类的公有私有
- 沟通日志之制衣