<?xml version="1.0" encoding="utf-8"?><feed xmlns="http://www.w3.org/2005/Atom"><title type="text">博客园_一个程序员的自省_分类_02-Winows Forms</title><id>http://feed.cnblogs.com/blog/u/15645/category/43301/rss</id><updated>2012-05-29T01:15:48Z</updated><generator>feed.cnblogs.com</generator><link rel="alternate" type="text/html" href="http://www.cnblogs.com/anderslly/category/43301.html"/><link rel="self" type="application/atom+xml" href="http://feed.cnblogs.com/blog/u/15645/category/43301/rss"/><entry><id>http://www.cnblogs.com/anderslly/archive/2007/05/14/windowsclientsitelaunches.html</id><title type="text">The WindowsClient.NET Community Site Launches</title><summary type="text">这是WinForm的官方网站，原来是：www.windowsforms.net，现在则变成了：windowsclient.net，它的外观和内容都有了不小的变化。</summary><published>2007-05-14T12:44:00Z</published><updated>2007-05-14T12:44:00Z</updated><author><name>Anders Cui</name><uri>http://www.cnblogs.com/anderslly/</uri></author><link rel="alternate" href="http://www.cnblogs.com/anderslly/archive/2007/05/14/windowsclientsitelaunches.html"/><link rel="alternate" type="text/html" href="http://www.cnblogs.com/anderslly/archive/2007/05/14/windowsclientsitelaunches.html"/><content type="text">这是WinForm的官方网站，原来是：www.windowsforms.net，现在则变成了：windowsclient.net，它的外观和内容都有了不小的变化。</content></entry><entry><id>http://www.cnblogs.com/anderslly/archive/2007/05/08/customvalidationlibrary2.html</id><title type="text">Windows Forms中通过自定义组件实现统一的数据验证（二）</title><summary type="text">上一篇中，我们利用Windows Forms中的验证机制实现了一套组件，它们是可重用的，并且可以利用VS的窗体设计器，最终我们实现了控件级的验证。也就是说当用户在控件间转移时进行验证。不幸的是，用户数据填写完毕进行提交时，我们无法保证他们能够填写过每个控件，当然也就没法验证所有控件了。这时窗体级的验证就很有必要了。我们一起来看一下。</summary><published>2007-05-08T04:46:00Z</published><updated>2007-05-08T04:46:00Z</updated><author><name>Anders Cui</name><uri>http://www.cnblogs.com/anderslly/</uri></author><link rel="alternate" href="http://www.cnblogs.com/anderslly/archive/2007/05/08/customvalidationlibrary2.html"/><link rel="alternate" type="text/html" href="http://www.cnblogs.com/anderslly/archive/2007/05/08/customvalidationlibrary2.html"/><content type="text">上一篇中，我们利用Windows Forms中的验证机制实现了一套组件，它们是可重用的，并且可以利用VS的窗体设计器，最终我们实现了控件级的验证。也就是说当用户在控件间转移时进行验证。不幸的是，用户数据填写完毕进行提交时，我们无法保证他们能够填写过每个控件，当然也就没法验证所有控件了。这时窗体级的验证就很有必要了。我们一起来看一下。</content></entry><entry><id>http://www.cnblogs.com/anderslly/archive/2007/04/18/customvalidatorpart1.html</id><title type="text">Windows Forms中通过自定义组件实现统一的数据验证（一）</title><summary type="text">一直对WinForm中没有像WebForm中那样的验证控件耿耿于怀，这几天准备开发一套类似的控件。在网上找到大牛Michael Weinhardt的一个系列文章，写得非常棒，所以基本上按他的思路下来的。在获取用户输入及后续的处理过程中，数据校验是关键的一步。本文将对Windows Forms中的校验机制进行探讨，分析如何通过开发自定义验证组件来提供更为高效的验证体验（类似于ASP.NET中的验证控件）。</summary><published>2007-04-18T13:30:00Z</published><updated>2007-04-18T13:30:00Z</updated><author><name>Anders Cui</name><uri>http://www.cnblogs.com/anderslly/</uri></author><link rel="alternate" href="http://www.cnblogs.com/anderslly/archive/2007/04/18/customvalidatorpart1.html"/><link rel="alternate" type="text/html" href="http://www.cnblogs.com/anderslly/archive/2007/04/18/customvalidatorpart1.html"/><content type="text">一直对WinForm中没有像WebForm中那样的验证控件耿耿于怀，这几天准备开发一套类似的控件。在网上找到大牛Michael Weinhardt的一个系列文章，写得非常棒，所以基本上按他的思路下来的。在获取用户输入及后续的处理过程中，数据校验是关键的一步。本文将对Windows Forms中的校验机制进行探讨，分析如何通过开发自定义验证组件来提供更为高效的验证体验（类似于ASP.NET中的验证控件）。</content></entry><entry><id>http://www.cnblogs.com/anderslly/archive/2007/01/23/embeddingwavfilesinwinform.html</id><title type="text">Windows Forms程序中嵌入并播放Wave音频文件</title><summary type="text">本文演示了如何将音频文件嵌入到应用程序的资源文件并播放它们，这要用到System.Media类库。类似的功能也可通过引用”winmm.dll”来实现，但本文的方法需要的代码更少，从部署的角度来说也更为安全。</summary><published>2007-01-23T07:53:00Z</published><updated>2007-01-23T07:53:00Z</updated><author><name>Anders Cui</name><uri>http://www.cnblogs.com/anderslly/</uri></author><link rel="alternate" href="http://www.cnblogs.com/anderslly/archive/2007/01/23/embeddingwavfilesinwinform.html"/><link rel="alternate" type="text/html" href="http://www.cnblogs.com/anderslly/archive/2007/01/23/embeddingwavfilesinwinform.html"/><content type="text">本文演示了如何将音频文件嵌入到应用程序的资源文件并播放它们，这要用到System.Media类库。类似的功能也可通过引用”winmm.dll”来实现，但本文的方法需要的代码更少，从部署的角度来说也更为安全。</content></entry><entry><id>http://www.cnblogs.com/anderslly/archive/2007/01/10/winformdisableclosebutton.html</id><title type="text">Windows Forms中禁用窗体的关闭按钮</title><summary type="text">有时候你会看到一些窗体，它们的标题栏上的关闭按钮被禁用了。如果程序处于某种关键进程中，你可不希望用户随意中断它，这时就可以考虑将关闭按钮禁用。.NET Framework对此没有内置的支持，不过借助于Win32 API, 可以轻松搞定。</summary><published>2007-01-10T13:26:00Z</published><updated>2007-01-10T13:26:00Z</updated><author><name>Anders Cui</name><uri>http://www.cnblogs.com/anderslly/</uri></author><link rel="alternate" href="http://www.cnblogs.com/anderslly/archive/2007/01/10/winformdisableclosebutton.html"/><link rel="alternate" type="text/html" href="http://www.cnblogs.com/anderslly/archive/2007/01/10/winformdisableclosebutton.html"/><content type="text">有时候你会看到一些窗体，它们的标题栏上的关闭按钮被禁用了。如果程序处于某种关键进程中，你可不希望用户随意中断它，这时就可以考虑将关闭按钮禁用。.NET Framework对此没有内置的支持，不过借助于Win32 API, 可以轻松搞定。</content></entry><entry><id>http://www.cnblogs.com/anderslly/archive/2006/12/27/filedirectory.html</id><title type="text">路径，文件，目录，I/O常见操作汇总（二）</title><summary type="text">上一篇介绍了路径的相关操作，这一篇就看看文件和目录相关的内容了。主要包括：获取文件、目录、驱动器的基本信息，获取和设置文件和目录的属性，文件的版本信息，搜索文件和目录，文件判等，复制、移动、删除、重命名文件和目录等；</summary><published>2006-12-27T13:36:00Z</published><updated>2006-12-27T13:36:00Z</updated><author><name>Anders Cui</name><uri>http://www.cnblogs.com/anderslly/</uri></author><link rel="alternate" href="http://www.cnblogs.com/anderslly/archive/2006/12/27/filedirectory.html"/><link rel="alternate" type="text/html" href="http://www.cnblogs.com/anderslly/archive/2006/12/27/filedirectory.html"/><content type="text">上一篇介绍了路径的相关操作，这一篇就看看文件和目录相关的内容了。主要包括：获取文件、目录、驱动器的基本信息，获取和设置文件和目录的属性，文件的版本信息，搜索文件和目录，文件判等，复制、移动、删除、重命名文件和目录等；</content></entry><entry><id>http://www.cnblogs.com/anderslly/archive/2006/12/24/pathcommondialog.html</id><title type="text">路径，文件，目录，I/O常见操作汇总（一）</title><summary type="text">文件操作是程序中非常基础和重要的内容，而路径、文件、目录以及I/O都是在进行文件操作时的常见主题，这里想把这些常见的问题作个总结，对于每个问题，尽量提供一些解决方案，即使没有你想要的答案，也希望能提供给你一点有益的思路，如果你有好的建议，恳请能够留言，使这些内容更加完善。</summary><published>2006-12-24T15:18:00Z</published><updated>2006-12-24T15:18:00Z</updated><author><name>Anders Cui</name><uri>http://www.cnblogs.com/anderslly/</uri></author><link rel="alternate" href="http://www.cnblogs.com/anderslly/archive/2006/12/24/pathcommondialog.html"/><link rel="alternate" type="text/html" href="http://www.cnblogs.com/anderslly/archive/2006/12/24/pathcommondialog.html"/><content type="text">文件操作是程序中非常基础和重要的内容，而路径、文件、目录以及I/O都是在进行文件操作时的常见主题，这里想把这些常见的问题作个总结，对于每个问题，尽量提供一些解决方案，即使没有你想要的答案，也希望能提供给你一点有益的思路，如果你有好的建议，恳请能够留言，使这些内容更加完善。</content></entry><entry><id>http://www.cnblogs.com/anderslly/archive/2006/12/17/stopwatchspeedtesting.html</id><title type="text">使用.NET 2.0中的秒表－Stopwatch类进行速度测试</title><summary type="text">软件的运行速度必须要在用户可以接受的范围内。通常，改善那些短暂的但频繁使用的例程的速度会大幅度地提高软件的整体速度。.NET 2.0中引入了方便实用的Stopwatch类，通过它可以轻松地进行计时，并借此改善程序的性能。</summary><published>2006-12-17T10:25:00Z</published><updated>2006-12-17T10:25:00Z</updated><author><name>Anders Cui</name><uri>http://www.cnblogs.com/anderslly/</uri></author><link rel="alternate" href="http://www.cnblogs.com/anderslly/archive/2006/12/17/stopwatchspeedtesting.html"/><link rel="alternate" type="text/html" href="http://www.cnblogs.com/anderslly/archive/2006/12/17/stopwatchspeedtesting.html"/><content type="text">软件的运行速度必须要在用户可以接受的范围内。通常，改善那些短暂的但频繁使用的例程的速度会大幅度地提高软件的整体速度。.NET 2.0中引入了方便实用的Stopwatch类，通过它可以轻松地进行计时，并借此改善程序的性能。</content></entry><entry><id>http://www.cnblogs.com/anderslly/archive/2006/12/07/dgvsummary.html</id><title type="text">DataGridView常见用法和FAQ汇总</title><summary type="text">最近在项目中用到了DataGridView，这个东东如果初次使用还真需要拿出些时间好好看看它。现在把我学习过程中积累的东西拿出来，对DGV的初体验者应有些帮助。不过里面的东西都比较简单，只是希望引起大家对DGV的注意，一起研究、探讨。还有，园子里的绝大部分东西都是WebForm的，WinForm方面的东西少之又少，希望各位达人们也能对WinForm中留意一下，这样我们这些普通开发者也就有福了:)</summary><published>2006-12-07T07:48:00Z</published><updated>2006-12-07T07:48:00Z</updated><author><name>Anders Cui</name><uri>http://www.cnblogs.com/anderslly/</uri></author><link rel="alternate" href="http://www.cnblogs.com/anderslly/archive/2006/12/07/dgvsummary.html"/><link rel="alternate" type="text/html" href="http://www.cnblogs.com/anderslly/archive/2006/12/07/dgvsummary.html"/><content type="text">最近在项目中用到了DataGridView，这个东东如果初次使用还真需要拿出些时间好好看看它。现在把我学习过程中积累的东西拿出来，对DGV的初体验者应有些帮助。不过里面的东西都比较简单，只是希望引起大家对DGV的注意，一起研究、探讨。还有，园子里的绝大部分东西都是WebForm的，WinForm方面的东西少之又少，希望各位达人们也能对WinForm中留意一下，这样我们这些普通开发者也就有福了:)</content></entry><entry><id>http://www.cnblogs.com/anderslly/archive/2006/08/25/IBatisNetTemplates.html</id><title type="text">关于IBatisNet的两个简单CodeSmith模板</title><summary type="text"/><published>2006-08-25T04:47:00Z</published><updated>2006-08-25T04:47:00Z</updated><author><name>Anders Cui</name><uri>http://www.cnblogs.com/anderslly/</uri></author><link rel="alternate" href="http://www.cnblogs.com/anderslly/archive/2006/08/25/IBatisNetTemplates.html"/><link rel="alternate" type="text/html" href="http://www.cnblogs.com/anderslly/archive/2006/08/25/IBatisNetTemplates.html"/><content type="text"/></entry></feed>
