<?xml version="1.0" encoding="utf-8"?><feed xmlns="http://www.w3.org/2005/Atom"><title type="text">博客园_我就喜欢WinFX(seabluescn@gmail.com)</title><subtitle type="text"/><id>http://feed.cnblogs.com/blog/u/21952/rss</id><updated>2009-07-16T04:26:43Z</updated><author><name>seabluescn</name><uri>http://www.cnblogs.com/seabluescn/</uri></author><generator>CNBlogs BlogServer</generator><link rel="alternate" type="text/html" href="http://www.cnblogs.com/seabluescn/"/><link rel="self" type="application/atom+xml" href="http://feed.cnblogs.com/blog/u/21952/rss"/><entry><id>http://www.cnblogs.com/seabluescn/archive/2009/07/16/1524718.html</id><title type="text">C#多线程与UI响应</title><summary type="text">在使用C#进行应用程序设计时，经常会采用多线程的方式进行一些后台任务的工作。对于不同的应用场景，使用的策略也不尽相同。1.      后台循环任务，少量UI更新：例如批量上传文件，并提供进度。这种情况使用BackgroundWorker组件是非常好的选择。2.      耗时的后台任务：这里的耗时任务是指一个时间较长的任务，并且不能精确获取进度，如：调用一个远程WebService接口。这种情况可以开两个线程，一个工作，一个更新UI（不能提供进度，只能显示动画表示系统在运行中）。3.      耗时的UI任务：当工作压力集中在UI响应上时，可以在工作者线程中增加延时，从而让UI线程获得响应时间。整个工作的总体时间会增加，但用户响应效果会好很多。</summary><published>2009-07-16T04:25:00Z</published><updated>2009-07-16T04:25:00Z</updated><author><name>seabluescn</name><uri>http://www.cnblogs.com/seabluescn/</uri></author><link rel="alternate" href="http://www.cnblogs.com/seabluescn/archive/2009/07/16/1524718.html"/><link rel="alternate" type="text/html" href="http://www.cnblogs.com/seabluescn/archive/2009/07/16/1524718.html"/></entry><entry><id>http://www.cnblogs.com/seabluescn/archive/2007/10/30/942695.html</id><title type="text">基于Windows Mobile 5.0的掌上天气预报设计</title><summary type="text">描述一个基于Windows mobile 5.0的天气预报程序设计过程;&#xD;&#xD;开发工具：Visual studio 2005(C#/)Windows Mobile 5.0 Pocket PC SDK/WM6 模拟器；&#xD;&#xD;试用机型：多普达 D600          </summary><published>2007-10-30T03:22:00Z</published><updated>2007-10-30T03:22:00Z</updated><author><name>seabluescn</name><uri>http://www.cnblogs.com/seabluescn/</uri></author><link rel="alternate" href="http://www.cnblogs.com/seabluescn/archive/2007/10/30/942695.html"/><link rel="alternate" type="text/html" href="http://www.cnblogs.com/seabluescn/archive/2007/10/30/942695.html"/></entry><entry><id>http://www.cnblogs.com/seabluescn/archive/2007/10/08/917390.html</id><title type="text">使用.NE平台调用服务访问非托管 DLL 中的函数</title><summary type="text">概述：描述在Microsoft.Net框架下使用Win32API的方法。&#xD;关键字：平台调用，Invoke，DllImport。</summary><published>2007-10-08T11:00:00Z</published><updated>2007-10-08T11:00:00Z</updated><author><name>seabluescn</name><uri>http://www.cnblogs.com/seabluescn/</uri></author><link rel="alternate" href="http://www.cnblogs.com/seabluescn/archive/2007/10/08/917390.html"/><link rel="alternate" type="text/html" href="http://www.cnblogs.com/seabluescn/archive/2007/10/08/917390.html"/></entry><entry><id>http://www.cnblogs.com/seabluescn/archive/2007/03/16/676778.html</id><title type="text">扩充.NET窗体类(System.Windows.Forms.Form)的事件 </title><summary type="text">对于做Windows应用程序开发的程序员来说，Form类恐怕用的比较多的。.Net类库提供的Form类大概提供不到100个事件，对于大部分应用来所应该是足够了，但还是不能满足一些特殊程序的功能要求，比如经常有人在论坛提问：如何截获窗口最大化的事件等等。</summary><published>2007-03-16T01:19:00Z</published><updated>2007-03-16T01:19:00Z</updated><author><name>seabluescn</name><uri>http://www.cnblogs.com/seabluescn/</uri></author><link rel="alternate" href="http://www.cnblogs.com/seabluescn/archive/2007/03/16/676778.html"/><link rel="alternate" type="text/html" href="http://www.cnblogs.com/seabluescn/archive/2007/03/16/676778.html"/></entry><entry><id>http://www.cnblogs.com/seabluescn/archive/2007/03/02/661915.html</id><title type="text">写系统托盘程序的几个相关问题</title><summary type="text">自从.Net出现一个NotifyIcon控件，写系统托盘程序可以说是易如反掌。&#xD;本文不包含任何关于NotifyIcon的使用方法，只是谈一下几个开发系统托盘程序的相关问题。&#xD;&#xD;1.如何防止程序多次运行？&#xD;2.如何在最小化程序时隐藏窗体？&#xD;3.如何在点击关闭按钮时隐藏窗体？&#xD;4.如何确实要关闭程序？&#xD;5.系统关机或重启时，如何关闭程序？</summary><published>2007-03-02T08:42:00Z</published><updated>2007-03-02T08:42:00Z</updated><author><name>seabluescn</name><uri>http://www.cnblogs.com/seabluescn/</uri></author><link rel="alternate" href="http://www.cnblogs.com/seabluescn/archive/2007/03/02/661915.html"/><link rel="alternate" type="text/html" href="http://www.cnblogs.com/seabluescn/archive/2007/03/02/661915.html"/></entry><entry><id>http://www.cnblogs.com/seabluescn/archive/2007/01/23/627922.html</id><title type="text">Windows Form 程序打印概述</title><summary type="text">本文没有新的技术或技巧，只是对Windows打印做一个小结，内容包括：多页打印，打印预览，打印机设置，页面设置。&#xD;</summary><published>2007-01-23T06:24:00Z</published><updated>2007-01-23T06:24:00Z</updated><author><name>seabluescn</name><uri>http://www.cnblogs.com/seabluescn/</uri></author><link rel="alternate" href="http://www.cnblogs.com/seabluescn/archive/2007/01/23/627922.html"/><link rel="alternate" type="text/html" href="http://www.cnblogs.com/seabluescn/archive/2007/01/23/627922.html"/></entry><entry><id>http://www.cnblogs.com/seabluescn/archive/2006/12/01/579039.html</id><title type="text">ASP.NET未处理异常的处理</title><summary type="text">ASP.NET页面出现未处理异常时，其页面信息用户很难理解，我们的要求是：&#xD;(1)记录错误信息;&#xD;(2)对用户隐藏错误，只告知用户出错了。</summary><published>2006-12-01T07:04:00Z</published><updated>2006-12-01T07:04:00Z</updated><author><name>seabluescn</name><uri>http://www.cnblogs.com/seabluescn/</uri></author><link rel="alternate" href="http://www.cnblogs.com/seabluescn/archive/2006/12/01/579039.html"/><link rel="alternate" type="text/html" href="http://www.cnblogs.com/seabluescn/archive/2006/12/01/579039.html"/></entry><entry><id>http://www.cnblogs.com/seabluescn/archive/2006/11/23/569945.html</id><title type="text">随心所欲的Web页面打印技术</title><summary type="text">对基于B/S架构的应用程序而言，客户端的页面打印一直是比较头疼的问题，简单的做法是：1.使用IE的打印功能；2.使用水晶报表。但以上两种办法，都有很大的局限性，很难实现特殊要求的排版和精确的定位，所以不能满足一些特殊客户的BT要求。为此，本人总结了自己在使用Web打印上的一点经验，和大家分享。&#xD;&#xD;</summary><published>2006-11-23T07:52:00Z</published><updated>2006-11-23T07:52:00Z</updated><author><name>seabluescn</name><uri>http://www.cnblogs.com/seabluescn/</uri></author><link rel="alternate" href="http://www.cnblogs.com/seabluescn/archive/2006/11/23/569945.html"/><link rel="alternate" type="text/html" href="http://www.cnblogs.com/seabluescn/archive/2006/11/23/569945.html"/></entry><entry><id>http://www.cnblogs.com/seabluescn/archive/2006/10/25/539095.html</id><title type="text">Visual C# 2005 应用程序设置</title><summary type="text">对于桌面应用程序，常常会需要记录一些用户配置信息，早期的做法一般是使用读写INI文件的办法,&#xD;随着.NET Framerwork 2.0 的出现，对应用程序设置提供了内在的支持，现在读写配置信息要简单方便得多了...</summary><published>2006-10-25T01:11:00Z</published><updated>2006-10-25T01:11:00Z</updated><author><name>seabluescn</name><uri>http://www.cnblogs.com/seabluescn/</uri></author><link rel="alternate" href="http://www.cnblogs.com/seabluescn/archive/2006/10/25/539095.html"/><link rel="alternate" type="text/html" href="http://www.cnblogs.com/seabluescn/archive/2006/10/25/539095.html"/></entry><entry><id>http://www.cnblogs.com/seabluescn/archive/2006/10/12/527472.html</id><title type="text">向大家推荐一本WPF的电子书：Programming Windows Presentation Foundation</title><summary type="text">《Programming Windows Presentation Foundation 》&#xD;by： Ian Griffiths, Chris Sells &#xD;&#xD;</summary><published>2006-10-12T07:56:00Z</published><updated>2006-10-12T07:56:00Z</updated><author><name>seabluescn</name><uri>http://www.cnblogs.com/seabluescn/</uri></author><link rel="alternate" href="http://www.cnblogs.com/seabluescn/archive/2006/10/12/527472.html"/><link rel="alternate" type="text/html" href="http://www.cnblogs.com/seabluescn/archive/2006/10/12/527472.html"/></entry></feed>
