摘要: 1 (1)事件,其实是一个消息.(2)如果我们自己定义事件,就必须同时定义好这个事件使用的委托,然后书写委托调用的方法。 阅读全文
posted @ 2012-05-25 17:01 大数据工程师康爸 阅读(230) 评论(0) 推荐(0)
摘要: 1 Debug类(1)提供一组帮助调试代码的方法和属性。(2)Debug.Listeners 属性 获取监视调试输出的侦听器集合.Listeners 集合被 Debug 和 Trace 类共用;向任何一个类添加元素侦听器将会向两者同时添加。/* Create a listener that outputs to the console screen, and * add it to the debug listeners. */ TextWriterTraceListener myWriter = new TextWriterTraceListener(System.Console... 阅读全文
posted @ 2012-05-25 09:14 大数据工程师康爸 阅读(1820) 评论(0) 推荐(0)