2013年9月18日

C#:自定义事件

摘要: 1.声明关于事件的委托;2.声明事件;3.编写触发事件的函数;4.创建事 件处理程序;5.注册事件处理程序;6.在适当的条件下触发事件.using System;using System.Collections.Generic;using System.Linq;using System.Text;using System.Threading.Tasks;namespace DefineEvent{ class Program { static void Main(string[] args) { DefineEvent defin... 阅读全文

posted @ 2013-09-18 15:19 Alvin-x 阅读(206) 评论(0) 推荐(0) 编辑

导航