摘要: http://www.cnblogs.com/SuperMetalMax/p/6211113.html C# Invoke或者BeginInvoke的使用 在Invoke或者BeginInvoke的使用中无一例外地使用了委托Delegate。 一、为什么Control类提供了Invoke和Begin 阅读全文
posted @ 2017-06-24 16:23 sky20080101 阅读(124) 评论(0) 推荐(0) 编辑
摘要: MethodInvoker 委托 . http://blog.csdn.net/qq408146580/article/details/17504825 2013-12-23 14:58 MethodInvoker 提供一个简单委托,该委托用于调用含 void 参数列表的方法。在对控件的 Invoke 方法进行调用时或需要一个简单委托又不想自己定义时可以使用该委托(摘自MSDN)... 阅读全文
posted @ 2017-06-24 16:14 sky20080101 阅读(149) 评论(0) 推荐(0) 编辑
摘要: C#实现在线程中打开新窗体 在线程中建的窗体,所有的资源都是属于这个线程的,所以当这个线程结束后,它的资源也被回收了,当然C#也就自动把窗体给关闭了 http://blog.csdn.net/dangercheng/article/details/8205009 最近做个Winform程序,就避免不 阅读全文
posted @ 2017-06-24 16:12 sky20080101 阅读(1830) 评论(0) 推荐(0) 编辑
摘要: 递归枚举IHTMLDocument2的所有元素 http://blog.csdn.net/fishmai/article/details/52388843 void EnumHTMLDocument( MSHTML::IHTMLDocument2* pDoc ) { if( pDoc == NULL )return; //遍历搜索子框架,递归处理子... 阅读全文
posted @ 2017-06-24 14:32 sky20080101 阅读(1274) 评论(0) 推荐(0) 编辑
该文被密码保护。 阅读全文
posted @ 2017-06-24 14:28 sky20080101 阅读(1) 评论(0) 推荐(0) 编辑
摘要: JAVA里有个IndentityHashMap可以实现重复key的集合 C# 里当然肯定必须也会有这样的类了 NameValueCollection using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Collections.Speciali... 阅读全文
posted @ 2017-06-24 13:39 sky20080101 阅读(395) 评论(0) 推荐(0) 编辑