Loading

摘要: 自定义事件的步骤: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 阅读全文
posted @ 2012-09-29 16:36 青岛欧姆网络科技 阅读(306) 评论(0) 推荐(0) 编辑