摘要: 一、简单的自定义事件(1):无参数namespace UserInputMonitor{ class UserInputMonitor { public delegate void UserRequest(object sender, EventArgs e); //定义委托 public event UserRequest OnUserRequest; //此委托类型类型的事件 public v... 阅读全文
posted @ 2010-02-26 11:17 qqhfeng16 阅读(330) 评论(0) 推荐(0)