摘要:
自定义事件的步骤:1.声明委托:public delegate yourActionEventHandler(Object sender,ArguEvent e);2.声明事件public eventyourActionEventHandler yourAction;3.注册事件:Class class = new Class();class.yourAction += new yourActionEventHandler(Object sender,ArguEvent e);4.实现事件处理函数:public void yourActionEventHandler(Object sender 阅读全文