04 2013 档案

摘要:这篇文章很好:http://www.cnblogs.com/hocylan/archive/2007/11/16/961218.html 阅读全文
posted @ 2013-04-26 15:16 xiaokang088 阅读(108) 评论(0) 推荐(0) 编辑
摘要:MS:http://msdn.microsoft.com/zh-cn/library/bb513641(v=vs.85).aspx 阅读全文
posted @ 2013-04-25 16:31 xiaokang088 阅读(190) 评论(0) 推荐(0) 编辑
摘要:挂起 – 从操作系统角度来看当一个应用程序(或者更准确定的说,一个线程)在桌面上创建一个窗口时,它会执行一个桌面窗口管理工具( Desktop Window Manager , DWM )的隐式的协议来及时的处理窗口消息。 DWM 回发消息(键盘 / 鼠标的输入以及来自于其他窗口或窗口本身的消息)到一个特定线程的( thread-specific )消息队列。该线程将会通过它的消息队列获取并发送这些消息。如果线程没有通过调用 GetMessage() 来为队列服务,则消息将不会被处理,并且窗口会挂起:此时,既不能刷新屏幕也不能接受任何来自于用户的输入。系统会通过向消息队列中的等待消息( pen 阅读全文
posted @ 2013-04-25 16:08 xiaokang088 阅读(472) 评论(0) 推荐(0) 编辑
摘要:People Finder Interchange FormatWiki:http://en.wikipedia.org/wiki/PFIFSpec:http://zesty.ca/pfif/1.4/Org:http://pfif.org/ 阅读全文
posted @ 2013-04-25 16:01 xiaokang088 阅读(206) 评论(0) 推荐(0) 编辑
摘要:http://stackoverflow.com/questions/368926/how-do-i-determine-if-a-wpf-window-is-modalhttp://stackoverflow.com/questions/5093899/close-all-open-modal-dialog-windowsSystem.Windows.Interop.ComponentDispatcher.IsThreadModalBut if show MessageBox or other native dialog, this API is unhelp. 阅读全文
posted @ 2013-04-24 09:16 xiaokang088 阅读(254) 评论(0) 推荐(0) 编辑
摘要:这有一篇很好的文章,Improving WPF applications startup timehttp://blogs.msdn.com/b/jgoldb/archive/2007/10/10/improving-wpf-applications-startup-time.aspx摘要几点:1.Warm start is different with cold start.2.Analysis start code.3. Load fewer module, remove unuseful code and reference.4.avoid unnecessary init5.consi 阅读全文
posted @ 2013-04-09 08:45 xiaokang088 阅读(3196) 评论(0) 推荐(0) 编辑
摘要:Code as follow: public static class AssociateExtensionHelper { public static void CreateExtension(string extension, string commandPath) { string operationkeyName = "Do" + extension; var key = Registry.ClassesRoot.CreateSubKey(extension); key.SetVa... 阅读全文
posted @ 2013-04-03 10:36 xiaokang088 阅读(233) 评论(0) 推荐(0) 编辑