To subscribe to an event, the receiver must create a delegate of the same type as the event, using the event handler as the delegate destination.

 
  • 若要订阅事件,接收器必须创建一个与事件具有相同类型的委托,并使用事件处理程序作为委托目标。
今日热词
目录 附录 查词历史