日期:2014-05-20 浏览次数:21154 次
delegate DialogResult Dlg1(string aa); public partial class Form1 : Form { public Form1() { InitializeComponent(); } private void Form1_Load(object sender, EventArgs e) { string aa = "Hello Word"; Dlg1 a = new Dlg1(MessageBox.Show); a(aa); } }