摘要: 委托例子:using System;using System.Collections.Generic;using System.Linq;using System.Text;namespace shijian2{ class Program { public delegate void MyHandler(string str); static void Main(string[] args) { Program pro = new Program(); MyHandler mh= new MyHandler(pro_Myevent);//相当于把mh是一个引用指向pro_Myevent()这 阅读全文
posted @ 2013-06-28 19:22 吴加跃 阅读(106) 评论(0) 推荐(0)