<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:trackback="http://madskills.com/public/xml/rss/module/trackback/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/"><channel><title>周公的专栏 - WinForm技术</title><link>http://blog.csdn.net/zhoufoxcn/category/358300.aspx</link><description>包括常用WinForm和手机上的应用程序开发文档。</description><dc:language>zh-CN</dc:language><lastUpdateTime>Thu, 02 Oct 2008 14:18:00 GMT</lastUpdateTime><ttl>60</ttl><item><dc:creator>周公</dc:creator><title>WinForm中的特殊窗体效果：渐变窗口和信息提示窗口</title><link>http://blog.csdn.net/zhoufoxcn/archive/2008/06/16/2554064.aspx</link><pubDate>Mon, 16 Jun 2008 18:19:00 GMT</pubDate><guid>http://blog.csdn.net/zhoufoxcn/archive/2008/06/16/2554064.aspx</guid><wfw:comment>http://blog.csdn.net/zhoufoxcn/comments/2554064.aspx</wfw:comment><comments>http://blog.csdn.net/zhoufoxcn/archive/2008/06/16/2554064.aspx#Feedback</comments><slash:comments>6</slash:comments><wfw:commentRss>http://blog.csdn.net/zhoufoxcn/comments/commentRss/2554064.aspx</wfw:commentRss><trackback:ping>http://tb.blog.csdn.net/TrackBack.aspx?PostId=2554064</trackback:ping><description>在WinForm中偶尔会遇到某些特殊效果：比如某个窗口刚开始的时候是完全透明的，随着时间的变化，窗体逐渐不透明，直至完全不透明。这是本文要探讨的窗体效果之一：渐变窗体。还有一种窗体效果：有些软件在某个特定的时间会显示一个提示窗体，这个窗体不是直接显示的，而是慢慢从窗口的最下方向上移动，直至窗体完全显示就不再移动。当我们点击“确定”按钮之后，窗体由从屏幕上逐渐下移，直至完全从屏幕上完全不显示。这也是本文讨论的窗体效果之一：移动提示信息窗口。&lt;img src ="http://blog.csdn.net/zhoufoxcn/aggbug/2554064.aspx" width = "1" height = "1" /&gt;</description></item><item><dc:creator>周公</dc:creator><title>用C#制作飘动的窗体效果</title><link>http://blog.csdn.net/zhoufoxcn/archive/2008/06/06/2515753.aspx</link><pubDate>Fri, 06 Jun 2008 09:02:00 GMT</pubDate><guid>http://blog.csdn.net/zhoufoxcn/archive/2008/06/06/2515753.aspx</guid><wfw:comment>http://blog.csdn.net/zhoufoxcn/comments/2515753.aspx</wfw:comment><comments>http://blog.csdn.net/zhoufoxcn/archive/2008/06/06/2515753.aspx#Feedback</comments><slash:comments>11</slash:comments><wfw:commentRss>http://blog.csdn.net/zhoufoxcn/comments/commentRss/2515753.aspx</wfw:commentRss><trackback:ping>http://tb.blog.csdn.net/TrackBack.aspx?PostId=2515753</trackback:ping><description>最近翻看以前的学习C#的联系代码，无意之中发现一个很有趣的项目。是一个飘动窗体的效果，运行程序之后，在当前屏幕上会像雪花般飘动很多自定义图标，并且它们就像雪花般轻盈地从屏幕上方飘落到屏幕下方，直到消失。在程序运行过程中，屏幕上会维持一定数目的雪花。在系统托盘区域会有一个图标，点击这个图标，可以退出程序。这个联系代码联系了如何使用不规则窗体和系统托盘控件。&lt;img src ="http://blog.csdn.net/zhoufoxcn/aggbug/2515753.aspx" width = "1" height = "1" /&gt;</description></item><item><dc:creator>周公</dc:creator><title>仿QQ面板的WinForm窗体</title><link>http://blog.csdn.net/zhoufoxcn/archive/2008/05/31/2499194.aspx</link><pubDate>Sat, 31 May 2008 15:24:00 GMT</pubDate><guid>http://blog.csdn.net/zhoufoxcn/archive/2008/05/31/2499194.aspx</guid><wfw:comment>http://blog.csdn.net/zhoufoxcn/comments/2499194.aspx</wfw:comment><comments>http://blog.csdn.net/zhoufoxcn/archive/2008/05/31/2499194.aspx#Feedback</comments><slash:comments>10</slash:comments><wfw:commentRss>http://blog.csdn.net/zhoufoxcn/comments/commentRss/2499194.aspx</wfw:commentRss><trackback:ping>http://tb.blog.csdn.net/TrackBack.aspx?PostId=2499194</trackback:ping><description>仿QQ面板的WinForm窗体    说明：前几天在一个朋友那里看到做得很漂亮的一个企业及时通讯软件，利用C＃编写，完全没有利用第三方控件就实现了类似于QQ面板的效果，非常漂亮。    回家之后凭着自己的记忆和查阅MSDN尝试实现了一下，初步实现了类似效果，现在奉献给大家。    在程序中用到了三种控件（不包括窗体类）：ImageList、Button和ListView。Button控件显示好友分组，点击之后显示相应好友分组的信息；ImageList控件用于存放好友头像；ListView控件用于显示好友列表。在程序中不是用Location来定位控件的位置，而是使用Dock属性来设置控件的停靠，并随着父控件一起调整大小。全文及源代码请见详细说明。&lt;img src ="http://blog.csdn.net/zhoufoxcn/aggbug/2499194.aspx" width = "1" height = "1" /&gt;</description></item><item><dc:creator>周公</dc:creator><title>.net程序中资源文件的保护办法探讨</title><link>http://blog.csdn.net/zhoufoxcn/archive/2008/04/16/2296966.aspx</link><pubDate>Wed, 16 Apr 2008 14:16:00 GMT</pubDate><guid>http://blog.csdn.net/zhoufoxcn/archive/2008/04/16/2296966.aspx</guid><wfw:comment>http://blog.csdn.net/zhoufoxcn/comments/2296966.aspx</wfw:comment><comments>http://blog.csdn.net/zhoufoxcn/archive/2008/04/16/2296966.aspx#Feedback</comments><slash:comments>7</slash:comments><wfw:commentRss>http://blog.csdn.net/zhoufoxcn/comments/commentRss/2296966.aspx</wfw:commentRss><trackback:ping>http://tb.blog.csdn.net/TrackBack.aspx?PostId=2296966</trackback:ping><description>在编写.net程序（特别是WinForm时）经常会遇到一些需要加以保护的资源文件，比如一些数据库文件、图片文件等等，我们希望能被自己的程序访问，但是又不希望别人把我们辛辛苦苦收集来的数据被别人毫不费力地用于自己的程序中，在网上已经有不少朋友问到过这个问题，我也与不少朋友探讨过这个问题，今天把一些常用的做法介绍给大家，仅供参考。&lt;img src ="http://blog.csdn.net/zhoufoxcn/aggbug/2296966.aspx" width = "1" height = "1" /&gt;</description></item><item><dc:creator>周公</dc:creator><title>在VS2005利用NUnit进行测试</title><link>http://blog.csdn.net/zhoufoxcn/archive/2008/03/27/2222847.aspx</link><pubDate>Thu, 27 Mar 2008 13:24:00 GMT</pubDate><guid>http://blog.csdn.net/zhoufoxcn/archive/2008/03/27/2222847.aspx</guid><wfw:comment>http://blog.csdn.net/zhoufoxcn/comments/2222847.aspx</wfw:comment><comments>http://blog.csdn.net/zhoufoxcn/archive/2008/03/27/2222847.aspx#Feedback</comments><slash:comments>1</slash:comments><wfw:commentRss>http://blog.csdn.net/zhoufoxcn/comments/commentRss/2222847.aspx</wfw:commentRss><trackback:ping>http://tb.blog.csdn.net/TrackBack.aspx?PostId=2222847</trackback:ping><description>一、介绍NUnit是一款用于在.net环境进行单元测试的工具，它的官方网站是：http://www.nunit.org，需要了解历史和下载最新版本的朋友可以去官方网站下载，目前最新版本是2.4.6了，提供msi安装文件和压缩包形式下载，并且支持.net1.1和.net2.0。本文通过一个简单的例子演示了如何使用NUnit进行单元测试，并且演示了如何将NUnit集成到VS2005中，方便我们利用VS2005进行单元测试。&lt;img src ="http://blog.csdn.net/zhoufoxcn/aggbug/2222847.aspx" width = "1" height = "1" /&gt;</description></item><item><dc:creator>周公</dc:creator><title>log4net使用详解</title><link>http://blog.csdn.net/zhoufoxcn/archive/2008/03/26/2220533.aspx</link><pubDate>Wed, 26 Mar 2008 16:13:00 GMT</pubDate><guid>http://blog.csdn.net/zhoufoxcn/archive/2008/03/26/2220533.aspx</guid><wfw:comment>http://blog.csdn.net/zhoufoxcn/comments/2220533.aspx</wfw:comment><comments>http://blog.csdn.net/zhoufoxcn/archive/2008/03/26/2220533.aspx#Feedback</comments><slash:comments>2</slash:comments><wfw:commentRss>http://blog.csdn.net/zhoufoxcn/comments/commentRss/2220533.aspx</wfw:commentRss><trackback:ping>http://tb.blog.csdn.net/TrackBack.aspx?PostId=2220533</trackback:ping><description>说明：本程序演示如何利用log4net记录程序日志信息。log4net是一个功能著名的开源日志记录组件。利用log4net可以方便地将日志信息记录到文件、控制台、Windows事件日志和数据库（包括MS SQL Server, Access, Oracle9i,Oracle8i,DB2,SQLite）中。并且我们还可以记载控制要记载的日志级别，可以记载的日志类别包括：FATAL（致命错误）、ERROR（一般错误）、WARN（警告）、INFO（一般信息）、DEBUG（调试信息）。要想获取最新版本的log4net组件库，可以到官方网站http://logging.apache.org/log4net/下载。现在的最新版本是1.2.10。下面的例子展示了如何利用log4net记录日志 。&lt;img src ="http://blog.csdn.net/zhoufoxcn/aggbug/2220533.aspx" width = "1" height = "1" /&gt;</description></item><item><dc:creator>周公</dc:creator><title>HTML Help WorkShop制作chm图解</title><link>http://blog.csdn.net/zhoufoxcn/archive/2008/03/24/2213955.aspx</link><pubDate>Mon, 24 Mar 2008 16:48:00 GMT</pubDate><guid>http://blog.csdn.net/zhoufoxcn/archive/2008/03/24/2213955.aspx</guid><wfw:comment>http://blog.csdn.net/zhoufoxcn/comments/2213955.aspx</wfw:comment><comments>http://blog.csdn.net/zhoufoxcn/archive/2008/03/24/2213955.aspx#Feedback</comments><slash:comments>2</slash:comments><wfw:commentRss>http://blog.csdn.net/zhoufoxcn/comments/commentRss/2213955.aspx</wfw:commentRss><trackback:ping>http://tb.blog.csdn.net/TrackBack.aspx?PostId=2213955</trackback:ping><description>一位做共享软件做得很成功的同行说过：“一个好的共享软件，首先操作要简单容易上手，其次一定附带一个详尽的帮助手册。”可见，对于一个软件来说，帮助文件的重要性。不过大部分程序人员（包括我）都忽略了帮助文件的重要性，都认为自己做的软件相当简单，一看就会，殊不知我们是一个连底层都了解的开发人员。
前段时间本人做了一个图片处理软件，免费给一些同学和朋友使用，很多人的反馈是不知道怎么用，于是本人花时间做了一个帮助手册，得到了很多好的反馈，本人准备在结合他们的反馈意见之后发布一个Realease版本。在使用的过程中，我使用了微软提供的HTML Help WorkShop这个软件，可惜是英文的，为了方便广大对英语不是很熟悉的朋友，本人写了一份制作图解，希望对大家有帮助。&lt;img src ="http://blog.csdn.net/zhoufoxcn/aggbug/2213955.aspx" width = "1" height = "1" /&gt;</description></item><item><dc:creator>周公</dc:creator><title>如何美化你的.net 应用程序</title><link>http://blog.csdn.net/zhoufoxcn/archive/2008/01/08/2030818.aspx</link><pubDate>Tue, 08 Jan 2008 20:00:00 GMT</pubDate><guid>http://blog.csdn.net/zhoufoxcn/archive/2008/01/08/2030818.aspx</guid><wfw:comment>http://blog.csdn.net/zhoufoxcn/comments/2030818.aspx</wfw:comment><comments>http://blog.csdn.net/zhoufoxcn/archive/2008/01/08/2030818.aspx#Feedback</comments><slash:comments>27</slash:comments><wfw:commentRss>http://blog.csdn.net/zhoufoxcn/comments/commentRss/2030818.aspx</wfw:commentRss><trackback:ping>http://tb.blog.csdn.net/TrackBack.aspx?PostId=2030818</trackback:ping><description>利用.net技术能够快速开发出应用程序，但是如果应用微软的那一套技术，做出来的程序大多数程序员恐怕都会有一种千篇一律的感觉：按钮还是那个按钮（只是文字不同），文本框还是那个文本框， 下拉列表还是那个下拉列表........跟系统里的没有什么两样，不管程序怎么样，至少这个界面没什么新意。诚然，目前也有不少第三方的控件，如Xceed Ultimate Suite、ComponentOne.Studio、Infragistics.NetAdvantage等等，使用这些控件大多需要再花一定时间去掌握这些控件的用法，而且有些做得不是很好，我曾经见过一个商业控件里面很多是画出来的，不能像VS.net自带的控件那样在IDE上灵活控制，现在给大家展示一个很简单的换皮肤控件，先不说别的，让大家看看效果：&lt;img src ="http://blog.csdn.net/zhoufoxcn/aggbug/2030818.aspx" width = "1" height = "1" /&gt;</description></item><item><dc:creator>周公</dc:creator><title>.net 2.0 BackgroundWorker类详细用法</title><link>http://blog.csdn.net/zhoufoxcn/archive/2007/10/19/1832819.aspx</link><pubDate>Fri, 19 Oct 2007 14:47:00 GMT</pubDate><guid>http://blog.csdn.net/zhoufoxcn/archive/2007/10/19/1832819.aspx</guid><wfw:comment>http://blog.csdn.net/zhoufoxcn/comments/1832819.aspx</wfw:comment><comments>http://blog.csdn.net/zhoufoxcn/archive/2007/10/19/1832819.aspx#Feedback</comments><slash:comments>1</slash:comments><wfw:commentRss>http://blog.csdn.net/zhoufoxcn/comments/commentRss/1832819.aspx</wfw:commentRss><trackback:ping>http://tb.blog.csdn.net/TrackBack.aspx?PostId=1832819</trackback:ping><description>在WinForm中经常遇到一些费时的操作界面，比如统计某个磁盘分区的文件夹或者文件数目，如果分区很大或者文件过多的话，处理不好就会造成“假死”的情况，或者报“线程间操作无效”的异常，为了解决这个问题，可以使用委托来处理，在.net2.0中还可以用BackgroundWorker类。BackgroundWorker类是.net 2.0里新增加的一个类，对于需要长时间操作而不需要用户长时间等待的情况可以使用这个类。 注意确保在 DoWork 事件处理程序中不操作任何用户界面对象。而应该通过 ProgressChanged 和 RunWorkerCompleted 事件与用户界面进行通信。 &lt;img src ="http://blog.csdn.net/zhoufoxcn/aggbug/1832819.aspx" width = "1" height = "1" /&gt;</description></item></channel></rss>