浅析C#的事件处理和自定义事件
摘要:一、简单的自定义事件(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
阅读(321)
推荐(0) 编辑