public delegate void Feedback(object value,Int32 item,Int32 numItems);当编译器遇到这段代码时,它会产生如下面所示的一个完整的类定义public class Feedback : MulticastDelegate { public Feedback(object target, Int32 methodPro); public ... Read More
posted @ 2010-10-23 12:58 gull Views(350) Comments(0) Diggs(0) Edit
class MailManager { //传递给事件接受者的类型定义信息 public class MailMsgEventAgs : EventArgs { public readonly String from, to, subject, body; public MailMsgEventAgs(String from, String to, String subject, String b... Read More
posted @ 2010-10-23 10:46 gull Views(419) Comments(0) Diggs(0) Edit