2012年9月14日

C# 事件的简单例子

摘要: 事件的简单例子using System.Windows,Form;public class Form1:Form{ public delegate void ActionEventHandler(object sender,ActionCancelEventArgs ev);//定义委托类型ActionEventHandler public static event ActionEventHandler Action;//定义事件 BusEntity busEntity=new BusEntity(); public Form() { ... 阅读全文

posted @ 2012-09-14 10:18 refactor 阅读(2097) 评论(0) 推荐(0) 编辑

导航