摘要: 环境VS2010, 在项目属性中输出类型选择控制台应用程序 运行结果 using System;using System.Collections.Generic;using System.ComponentModel;using System.Data;using System.Drawing;us 阅读全文
posted @ 2019-05-14 14:36 北冰洋的鱼 阅读(788) 评论(0) 推荐(0) 编辑
摘要: 异步编程前提 1.学委托 delegate 其中委托中的beginInvoke()和endInvoke()方法必须要会。 2.学习回调函数 (也可以不用,但是一般建议用回调函数中执行endinvoke()方法) 回调函数也是一个方法, 只不过是把这个方法作为参数传递到另一个以回调函数作为参数的方法中 阅读全文
posted @ 2019-05-14 14:32 北冰洋的鱼 阅读(1690) 评论(0) 推荐(0) 编辑