摘要: 事件采用發佈訂閲的方式。 操作方法: 1、聲明委托對象 like public delegate void EventAHandler(int a); 2、聲明事件本身 like public event EventAHandler EventA; 3、在需要發佈的位置插入發佈對象 EventA(9 阅读全文
posted @ 2022-12-13 12:13 ghostkingkee 阅读(17) 评论(0) 推荐(0)