How to: Implement Interface Events

An interface can declare an event. The following example shows how to implement interface events in a class. Basically the rules are the same as when implementing any interface method or property.

To implement interface events in a class

  • Declare the event in your class and then invoke it in the appropriate places

posted @ 2010-06-12 16:26  qiang.xu  阅读(175)  评论(0编辑  收藏  举报