2008年6月5日

c#如何取得事件注册的方法

摘要: 这个问题来自论坛,原文为如何判断事件已经被注册过? 用反射取出事件绑定的委托实例,然后用GetInvocationList就可以得到所有注册的方法了。 代码 using System; using System.Collections.Generic; using System.Com... 阅读全文

posted @ 2008-06-05 15:15 代码王子 阅读(508) 评论(0) 推荐(0)

导航