摘要: 大致思路:form1中定义一个委托,然后创建form2对象,通过form2的构造函数传过去一个方法作为参数,而在form2中声明一个委托类型的变量作为参数的构造函数...//form1中的代码using System;using System.Collections.Generic;using System.ComponentModel;using System.Data;using System.Drawing;using System.Linq;using System.Text;using System.Windows.Forms;namespace 窗口值1{ public deleg 阅读全文
posted @ 2011-05-18 20:36 winchou 阅读(496) 评论(0) 推荐(0) 编辑