<?xml version="1.0" encoding="utf-8"?><feed xmlns="http://www.w3.org/2005/Atom"><title type="text">博客园_Timothy @ CnBlogs_分类_C#</title><id>http://feed.cnblogs.com/blog/u/16395/category/167787/rss</id><updated>2012-06-03T11:19:49Z</updated><generator>feed.cnblogs.com</generator><link rel="alternate" type="text/html" href="http://www.cnblogs.com/kugou123/category/167787.html"/><link rel="self" type="application/atom+xml" href="http://feed.cnblogs.com/blog/u/16395/category/167787/rss"/><entry><id>http://www.cnblogs.com/kugou123/archive/2009/09/02/1558626.html</id><title type="text">博客园字体美化小技巧</title><summary type="text">一直比较喜欢微软的雅黑字体，于是想动手把咱在博客园的这快自留地也修整修整，还好博客园提供了丰富好看的模板，并且提供了自定义CSS功能，可以自己动手，覆盖模板默认的CSS设置。废话不多说，说说设置过程吧：用IE8，打开自己的博客园站点，猛击"F12”，选择图标"Select element by click”，然后选中显示文章内容的DIV，发现他的class是 DIV.pos...</summary><published>2009-09-01T19:12:00Z</published><updated>2009-09-01T19:12:00Z</updated><author><name>Timothy Ye</name><uri>http://www.cnblogs.com/kugou123/</uri></author><link rel="alternate" href="http://www.cnblogs.com/kugou123/archive/2009/09/02/1558626.html"/><link rel="alternate" type="text/html" href="http://www.cnblogs.com/kugou123/archive/2009/09/02/1558626.html"/><content type="text">一直比较喜欢微软的雅黑字体，于是想动手把咱在博客园的这快自留地也修整修整，还好博客园提供了丰富好看的模板，并且提供了自定义CSS功能，可以自己动手，覆盖模板默认的CSS设置。废话不多说，说说设置过程吧：用IE8，打开自己的博客园站点，猛击"F12”，选择图标"Select element by click”，然后选中显示文章内容的DIV，发现他的class是 DIV.pos...</content></entry><entry><id>http://www.cnblogs.com/kugou123/archive/2009/07/13/1560103.html</id><title type="text">Visual Studio IDE配色方案</title><summary type="text">对于咱们代码民工来说，每天都要面对电脑，而平时眼睛盯得最多的，莫过于Visual Studio集成开发环境了。而Visual Studio的默认背景色颜色是白色的，久而久之，眼睛最容易疲劳。所以，一个好的配色方案，能减少屏幕对眼睛的刺激，也能减缓疲劳。经过长久的收集和摸索，老衲收藏了几种十分不错的配色方案，颜色都很柔和，不刺激眼睛，相当的绿色和环保。下面一一和大家分享一下：所有的配色方案，都采用的...</summary><published>2009-07-13T13:29:00Z</published><updated>2009-07-13T13:29:00Z</updated><author><name>Timothy Ye</name><uri>http://www.cnblogs.com/kugou123/</uri></author><link rel="alternate" href="http://www.cnblogs.com/kugou123/archive/2009/07/13/1560103.html"/><link rel="alternate" type="text/html" href="http://www.cnblogs.com/kugou123/archive/2009/07/13/1560103.html"/><content type="text">对于咱们代码民工来说，每天都要面对电脑，而平时眼睛盯得最多的，莫过于Visual Studio集成开发环境了。而Visual Studio的默认背景色颜色是白色的，久而久之，眼睛最容易疲劳。所以，一个好的配色方案，能减少屏幕对眼睛的刺激，也能减缓疲劳。经过长久的收集和摸索，老衲收藏了几种十分不错的配色方案，颜色都很柔和，不刺激眼睛，相当的绿色和环保。下面一一和大家分享一下：所有的配色方案，都采用的...</content></entry><entry><id>http://www.cnblogs.com/kugou123/archive/2009/05/29/1560104.html</id><title type="text">C# IDE Mobile – Write your C# code anywhere!</title><summary type="text">最近败了个QWERTY全键盘的HTC Touch pro，全键盘的感觉不错，输入速度比以前靠触摸笔点屏幕快多了。装了个Python的Windows mobile版本，没事学着写Python玩玩。一日突发奇想，要是能在PPC手机上写C#的程序并能运行起来，那就太棒了。果然不出我所料，国外已经有大侠已经做好了这个东东，一个运行在Windows Mobile手机上的简单的C# IDE，让你可以随时在你的...</summary><published>2009-05-29T15:06:00Z</published><updated>2009-05-29T15:06:00Z</updated><author><name>Timothy Ye</name><uri>http://www.cnblogs.com/kugou123/</uri></author><link rel="alternate" href="http://www.cnblogs.com/kugou123/archive/2009/05/29/1560104.html"/><link rel="alternate" type="text/html" href="http://www.cnblogs.com/kugou123/archive/2009/05/29/1560104.html"/><content type="text">最近败了个QWERTY全键盘的HTC Touch pro，全键盘的感觉不错，输入速度比以前靠触摸笔点屏幕快多了。装了个Python的Windows mobile版本，没事学着写Python玩玩。一日突发奇想，要是能在PPC手机上写C#的程序并能运行起来，那就太棒了。果然不出我所料，国外已经有大侠已经做好了这个东东，一个运行在Windows Mobile手机上的简单的C# IDE，让你可以随时在你的...</content></entry><entry><id>http://www.cnblogs.com/kugou123/archive/2009/05/26/1560105.html</id><title type="text">Visual Studio 2010 Beta1 is available for download</title><summary type="text">You can download it by two ways below:ISO:http://www.microsoft.com/downloads/details.aspx?displaylang=en&amp;FamilyID=3296bb4f-d8ba-4cfd-aa95-a424c5913f6bWebInstaller:http://www.microsoft.com/download...</summary><published>2009-05-26T14:33:00Z</published><updated>2009-05-26T14:33:00Z</updated><author><name>Timothy Ye</name><uri>http://www.cnblogs.com/kugou123/</uri></author><link rel="alternate" href="http://www.cnblogs.com/kugou123/archive/2009/05/26/1560105.html"/><link rel="alternate" type="text/html" href="http://www.cnblogs.com/kugou123/archive/2009/05/26/1560105.html"/><content type="text">You can download it by two ways below:ISO:http://www.microsoft.com/downloads/details.aspx?displaylang=en&amp;FamilyID=3296bb4f-d8ba-4cfd-aa95-a424c5913f6bWebInstaller:http://www.microsoft.com/download...</content></entry><entry><id>http://www.cnblogs.com/kugou123/archive/2009/04/28/1560106.html</id><title type="text">Unity 学习笔记(3) -- 生命周期管理</title><summary type="text">Unity根据我们在注册类型的时候所指定的生命周期来管理注册类型的创建和解析。当我们在向容器中注册类型的时候，如果我们没有显式的指明该类型的生命周期管理器(下称:Lifetime Manager)，默认的情况下，容器会为我们注册的类型创建一个生命周期短暂的管理器。这样一来，当我们每次调用容器的Resolve方法或者ResolveAll方法，或者采用依赖机制注入实例到其他的类中的时候，容器都会为我们...</summary><published>2009-04-28T15:34:00Z</published><updated>2009-04-28T15:34:00Z</updated><author><name>Timothy Ye</name><uri>http://www.cnblogs.com/kugou123/</uri></author><link rel="alternate" href="http://www.cnblogs.com/kugou123/archive/2009/04/28/1560106.html"/><link rel="alternate" type="text/html" href="http://www.cnblogs.com/kugou123/archive/2009/04/28/1560106.html"/><content type="text">Unity根据我们在注册类型的时候所指定的生命周期来管理注册类型的创建和解析。当我们在向容器中注册类型的时候，如果我们没有显式的指明该类型的生命周期管理器(下称:Lifetime Manager)，默认的情况下，容器会为我们注册的类型创建一个生命周期短暂的管理器。这样一来，当我们每次调用容器的Resolve方法或者ResolveAll方法，或者采用依赖机制注入实例到其他的类中的时候，容器都会为我们...</content></entry><entry><id>http://www.cnblogs.com/kugou123/archive/2009/04/25/1560107.html</id><title type="text">Unity 学习笔记(2) -- 配置文件的使用</title><summary type="text">在Unity的配置中，使用配置文件也是一种非常灵活的方式，毕竟能够通过修改配置文件的文本就能达到改动的目的，而不需要对源码进行改动、重新编译。使用配置文件对Unity进行配置，需要增加两个程序集的引用：System.Configuration和Microsoft.Practices.Unity.Configration，并且在代码中用相应的两个命名空间： 1: using System.Confi...</summary><published>2009-04-25T12:24:00Z</published><updated>2009-04-25T12:24:00Z</updated><author><name>Timothy Ye</name><uri>http://www.cnblogs.com/kugou123/</uri></author><link rel="alternate" href="http://www.cnblogs.com/kugou123/archive/2009/04/25/1560107.html"/><link rel="alternate" type="text/html" href="http://www.cnblogs.com/kugou123/archive/2009/04/25/1560107.html"/><content type="text">在Unity的配置中，使用配置文件也是一种非常灵活的方式，毕竟能够通过修改配置文件的文本就能达到改动的目的，而不需要对源码进行改动、重新编译。使用配置文件对Unity进行配置，需要增加两个程序集的引用：System.Configuration和Microsoft.Practices.Unity.Configration，并且在代码中用相应的两个命名空间： 1: using System.Confi...</content></entry><entry><id>http://www.cnblogs.com/kugou123/archive/2009/04/23/1560108.html</id><title type="text">Unity 学习笔记(1) -- Unity简介及简单使用</title><summary type="text">Unity是微软Patterns &amp; Practices团队所开发的一个轻量级的，并且可扩展的依赖注入(Dependency Injection)容器，它支持常用的三种依赖注入方式：构造器注入(Constructor Injection)、属性注入(Property Injection)，以及方法调用注入(Method Call Injection).现在Unity最新的版本的1.2版，可...</summary><published>2009-04-23T13:03:00Z</published><updated>2009-04-23T13:03:00Z</updated><author><name>Timothy Ye</name><uri>http://www.cnblogs.com/kugou123/</uri></author><link rel="alternate" href="http://www.cnblogs.com/kugou123/archive/2009/04/23/1560108.html"/><link rel="alternate" type="text/html" href="http://www.cnblogs.com/kugou123/archive/2009/04/23/1560108.html"/><content type="text">Unity是微软Patterns &amp; Practices团队所开发的一个轻量级的，并且可扩展的依赖注入(Dependency Injection)容器，它支持常用的三种依赖注入方式：构造器注入(Constructor Injection)、属性注入(Property Injection)，以及方法调用注入(Method Call Injection).现在Unity最新的版本的1.2版，可...</content></entry><entry><id>http://www.cnblogs.com/kugou123/archive/2008/12/11/1352733.html</id><title type="text">Dynamic Plugins Manager (五) Plugins Manager 源码下载</title><summary type="text">今天和同事一起把Plugins Manager放在了google code上面。大家可以从下面的地址获取所有的源码了。http://code.google.com/p/dynamic-plugins-manager/</summary><published>2008-12-11T04:29:00Z</published><updated>2008-12-11T04:29:00Z</updated><author><name>Timothy Ye</name><uri>http://www.cnblogs.com/kugou123/</uri></author><link rel="alternate" href="http://www.cnblogs.com/kugou123/archive/2008/12/11/1352733.html"/><link rel="alternate" type="text/html" href="http://www.cnblogs.com/kugou123/archive/2008/12/11/1352733.html"/><content type="text">今天和同事一起把Plugins Manager放在了google code上面。大家可以从下面的地址获取所有的源码了。http://code.google.com/p/dynamic-plugins-manager/</content></entry><entry><id>http://www.cnblogs.com/kugou123/archive/2008/12/11/1352729.html</id><title type="text">Dynamic Plugins Manager (四) 插件及Demo源码下载</title><summary type="text">这里提供了插件的Demo程序，和编译好的Plugin Manager下载。 Plugin Manager的代码待整理后放上来。 开发运行环境： Windows Vista Ultimate .NET Framework 3.5Microsoft Visual Studio 2008http://www.xiaozhou.net/cooldog/attachments/month_0803/k200...</summary><published>2008-12-11T04:28:00Z</published><updated>2008-12-11T04:28:00Z</updated><author><name>Timothy Ye</name><uri>http://www.cnblogs.com/kugou123/</uri></author><link rel="alternate" href="http://www.cnblogs.com/kugou123/archive/2008/12/11/1352729.html"/><link rel="alternate" type="text/html" href="http://www.cnblogs.com/kugou123/archive/2008/12/11/1352729.html"/><content type="text">这里提供了插件的Demo程序，和编译好的Plugin Manager下载。 Plugin Manager的代码待整理后放上来。 开发运行环境： Windows Vista Ultimate .NET Framework 3.5Microsoft Visual Studio 2008http://www.xiaozhou.net/cooldog/attachments/month_0803/k200...</content></entry><entry><id>http://www.cnblogs.com/kugou123/archive/2008/12/11/1352725.html</id><title type="text">Dynamic Plugins Manager (三) Demo</title><summary type="text">下面来演示一下Plugins Manager，先看看我们事先做好的Interface和两个具体实现的插件. Interface，接口定义： 程序代码using System;using System.Collections.Generic;using System.Linq;using System.Text;namespace Component{public interface ICompon...</summary><published>2008-12-11T04:26:00Z</published><updated>2008-12-11T04:26:00Z</updated><author><name>Timothy Ye</name><uri>http://www.cnblogs.com/kugou123/</uri></author><link rel="alternate" href="http://www.cnblogs.com/kugou123/archive/2008/12/11/1352725.html"/><link rel="alternate" type="text/html" href="http://www.cnblogs.com/kugou123/archive/2008/12/11/1352725.html"/><content type="text">下面来演示一下Plugins Manager，先看看我们事先做好的Interface和两个具体实现的插件. Interface，接口定义： 程序代码using System;using System.Collections.Generic;using System.Linq;using System.Text;namespace Component{public interface ICompon...</content></entry><entry><id>http://www.cnblogs.com/kugou123/archive/2008/12/11/1352680.html</id><title type="text">Dynamic Plugins Manager (二) 配置及实现分析</title><summary type="text">整个Plugins Manager是一个基于dll的程序集，开发平台，基于VS2008和.NET 3.5 Framework。为何要用.NET 3.5呢？没别的原因，只要是为了尝试一下Linq to XML 使用改组件，需要在应用程序中，添加引用。另外，还需要在应用程序中，建立相关的配置项： 程序代码&lt;?xml version="1.0" encoding="utf-8" ?&gt;&lt;...</summary><published>2008-12-11T03:44:00Z</published><updated>2008-12-11T03:44:00Z</updated><author><name>Timothy Ye</name><uri>http://www.cnblogs.com/kugou123/</uri></author><link rel="alternate" href="http://www.cnblogs.com/kugou123/archive/2008/12/11/1352680.html"/><link rel="alternate" type="text/html" href="http://www.cnblogs.com/kugou123/archive/2008/12/11/1352680.html"/><content type="text">整个Plugins Manager是一个基于dll的程序集，开发平台，基于VS2008和.NET 3.5 Framework。为何要用.NET 3.5呢？没别的原因，只要是为了尝试一下Linq to XML 使用改组件，需要在应用程序中，添加引用。另外，还需要在应用程序中，建立相关的配置项： 程序代码&lt;?xml version="1.0" encoding="utf-8" ?&gt;&lt;...</content></entry><entry><id>http://www.cnblogs.com/kugou123/archive/2008/12/11/1352677.html</id><title type="text">Dynamic Plugins Manager (一) 介绍</title><summary type="text">Dynamic Plugins Manager是一个基于.NET的动态插件管理组件，也是我在业余时间做的一个小东东，代码在07年底就开始动工，因为一直没充裕时间完成，趁这个周末休息，加班加点的Coding，出来了一个原型，估计里面还有很多的显而易见的以及隐而未现的bug。设计这个组件的初衷，是为了能方便的应用于今后的项目中。先进的企业级项目中，变化最为突出的，还是业务，业务的变化，直接导致编码中业...</summary><published>2008-12-11T03:43:00Z</published><updated>2008-12-11T03:43:00Z</updated><author><name>Timothy Ye</name><uri>http://www.cnblogs.com/kugou123/</uri></author><link rel="alternate" href="http://www.cnblogs.com/kugou123/archive/2008/12/11/1352677.html"/><link rel="alternate" type="text/html" href="http://www.cnblogs.com/kugou123/archive/2008/12/11/1352677.html"/><content type="text">Dynamic Plugins Manager是一个基于.NET的动态插件管理组件，也是我在业余时间做的一个小东东，代码在07年底就开始动工，因为一直没充裕时间完成，趁这个周末休息，加班加点的Coding，出来了一个原型，估计里面还有很多的显而易见的以及隐而未现的bug。设计这个组件的初衷，是为了能方便的应用于今后的项目中。先进的企业级项目中，变化最为突出的，还是业务，业务的变化，直接导致编码中业...</content></entry><entry><id>http://www.cnblogs.com/kugou123/archive/2008/12/11/1352658.html</id><title type="text">ASP.net 2.0中水晶报表迁移部署问题</title><summary type="text">asp.net 2.0的水晶报表，在迁移机器的时候，如果目标机器没有相应的程序集，在IIS中会报错。错误描述：Parser Error Description: An error occurred during the parsing of a resource required to service this request. Please review the following specif...</summary><published>2008-12-11T03:31:00Z</published><updated>2008-12-11T03:31:00Z</updated><author><name>Timothy Ye</name><uri>http://www.cnblogs.com/kugou123/</uri></author><link rel="alternate" href="http://www.cnblogs.com/kugou123/archive/2008/12/11/1352658.html"/><link rel="alternate" type="text/html" href="http://www.cnblogs.com/kugou123/archive/2008/12/11/1352658.html"/><content type="text">asp.net 2.0的水晶报表，在迁移机器的时候，如果目标机器没有相应的程序集，在IIS中会报错。错误描述：Parser Error Description: An error occurred during the parsing of a resource required to service this request. Please review the following specif...</content></entry><entry><id>http://www.cnblogs.com/kugou123/archive/2008/10/23/1560110.html</id><title type="text">VS2008快捷键大全</title><summary type="text"/><published>2008-10-23T15:22:00Z</published><updated>2008-10-23T15:22:00Z</updated><author><name>Timothy Ye</name><uri>http://www.cnblogs.com/kugou123/</uri></author><link rel="alternate" href="http://www.cnblogs.com/kugou123/archive/2008/10/23/1560110.html"/><link rel="alternate" type="text/html" href="http://www.cnblogs.com/kugou123/archive/2008/10/23/1560110.html"/><content type="text"/></entry><entry><id>http://www.cnblogs.com/kugou123/archive/2007/09/22/1560111.html</id><title type="text">.NET开发常见问题两则</title><summary type="text">一、关于DateTime在将DateTime类型，插入到数据库的时候，最容易出现的一种错误：“SqlDateTime 溢出。必须介于 1/1/1753 12:00:00 AM 和 12/31/9999 11:59:59 PM 之间”原因是我们在取DateTime.MinValue的值，并插入到数据库的时候，DateTime.MinValue值范围和数据库DateTime类型...</summary><published>2007-09-21T17:01:00Z</published><updated>2007-09-21T17:01:00Z</updated><author><name>Timothy Ye</name><uri>http://www.cnblogs.com/kugou123/</uri></author><link rel="alternate" href="http://www.cnblogs.com/kugou123/archive/2007/09/22/1560111.html"/><link rel="alternate" type="text/html" href="http://www.cnblogs.com/kugou123/archive/2007/09/22/1560111.html"/><content type="text">一、关于DateTime在将DateTime类型，插入到数据库的时候，最容易出现的一种错误：“SqlDateTime 溢出。必须介于 1/1/1753 12:00:00 AM 和 12/31/9999 11:59:59 PM 之间”原因是我们在取DateTime.MinValue的值，并插入到数据库的时候，DateTime.MinValue值范围和数据库DateTime类型...</content></entry><entry><id>http://www.cnblogs.com/kugou123/archive/2007/08/30/1562376.html</id><title type="text">PJBlog恶意广告POST漏洞之测试与修复</title><summary type="text">今天在网上找了一个Vista的皮肤，赶紧给我的BLOG换上，漂亮了许多，呵呵。最近BLOG上，广告多得吓人，特别是在文章的评论和留言本里面，真是无孔不入的广告。由于偶比较痛恨这些广告，手动删除也不是办法，整页整页的广告评论和留言，多则上百条。而且手动在管理界面删除，也只是一个治标不治本的办法。 据寡人分析 ，可能是评论和留言的post环节不够强悍，导致垃圾广告有孔而入。不过这个BLOG的评论和留言...</summary><published>2007-08-29T16:45:00Z</published><updated>2007-08-29T16:45:00Z</updated><author><name>Timothy Ye</name><uri>http://www.cnblogs.com/kugou123/</uri></author><link rel="alternate" href="http://www.cnblogs.com/kugou123/archive/2007/08/30/1562376.html"/><link rel="alternate" type="text/html" href="http://www.cnblogs.com/kugou123/archive/2007/08/30/1562376.html"/><content type="text">今天在网上找了一个Vista的皮肤，赶紧给我的BLOG换上，漂亮了许多，呵呵。最近BLOG上，广告多得吓人，特别是在文章的评论和留言本里面，真是无孔不入的广告。由于偶比较痛恨这些广告，手动删除也不是办法，整页整页的广告评论和留言，多则上百条。而且手动在管理界面删除，也只是一个治标不治本的办法。 据寡人分析 ，可能是评论和留言的post环节不够强悍，导致垃圾广告有孔而入。不过这个BLOG的评论和留言...</content></entry><entry><id>http://www.cnblogs.com/kugou123/archive/2007/08/28/1562377.html</id><title type="text">动手DIY，给你的MSN机器人加上远程控制功能</title><summary type="text">MSN机器人是一个比较好玩的东东，通过第三方提供的SDK开发包，允许我们开发自己的MSN机器人，实现一些有趣的功能。比如自动聊天等等。进行MSN机器人开发，需要你首先申请一个MSN帐号，然后去http://sp.incesoft.com/index注册帐号，把你的MSN机器人挂在平台上面。然后下载SDK，开发机器人逻辑。开发出来的机器人程序，会主动和第三方的平台登录连接，这个时候，你的机器人就可以...</summary><published>2007-08-28T14:52:00Z</published><updated>2007-08-28T14:52:00Z</updated><author><name>Timothy Ye</name><uri>http://www.cnblogs.com/kugou123/</uri></author><link rel="alternate" href="http://www.cnblogs.com/kugou123/archive/2007/08/28/1562377.html"/><link rel="alternate" type="text/html" href="http://www.cnblogs.com/kugou123/archive/2007/08/28/1562377.html"/><content type="text">MSN机器人是一个比较好玩的东东，通过第三方提供的SDK开发包，允许我们开发自己的MSN机器人，实现一些有趣的功能。比如自动聊天等等。进行MSN机器人开发，需要你首先申请一个MSN帐号，然后去http://sp.incesoft.com/index注册帐号，把你的MSN机器人挂在平台上面。然后下载SDK，开发机器人逻辑。开发出来的机器人程序，会主动和第三方的平台登录连接，这个时候，你的机器人就可以...</content></entry><entry><id>http://www.cnblogs.com/kugou123/archive/2007/07/06/1562383.html</id><title type="text">发布一个ASP.NET相册控件（含源码）</title><summary type="text">/**PhotoAlbum Control V1.0 *By Timothy Ye 2007.7.6*You can modify it, and republish it.*http://www.xiaozhou.net/cooldog*/PhotoAlbum 功能列表：1.无须数据库支持，直接处理服务器图片目录2.为大图片生成缩略图，并存放到专门的目录，提高相册预览图片的效率3.简化图片添加过...</summary><published>2007-07-06T15:07:00Z</published><updated>2007-07-06T15:07:00Z</updated><author><name>Timothy Ye</name><uri>http://www.cnblogs.com/kugou123/</uri></author><link rel="alternate" href="http://www.cnblogs.com/kugou123/archive/2007/07/06/1562383.html"/><link rel="alternate" type="text/html" href="http://www.cnblogs.com/kugou123/archive/2007/07/06/1562383.html"/><content type="text">/**PhotoAlbum Control V1.0 *By Timothy Ye 2007.7.6*You can modify it, and republish it.*http://www.xiaozhou.net/cooldog*/PhotoAlbum 功能列表：1.无须数据库支持，直接处理服务器图片目录2.为大图片生成缩略图，并存放到专门的目录，提高相册预览图片的效率3.简化图片添加过...</content></entry><entry><id>http://www.cnblogs.com/kugou123/archive/2007/06/30/1562384.html</id><title type="text">.NET中关机、重启的类</title><summary type="text">这是一个封装的在.NET下面实现关机和重启的一个类，其实就是直接引用了Win32 API。业余的时间，写了个MSN机器人，后来突发灵感，想加入远程控制主机的功能，包括重启和关机，于是用上了这个类。待MSN机器人开发完成，放出源码，hoho。//关机、重启计算机 封装类using System;using System.Collections.Generic;using System.Text;us...</summary><published>2007-06-30T15:31:00Z</published><updated>2007-06-30T15:31:00Z</updated><author><name>Timothy Ye</name><uri>http://www.cnblogs.com/kugou123/</uri></author><link rel="alternate" href="http://www.cnblogs.com/kugou123/archive/2007/06/30/1562384.html"/><link rel="alternate" type="text/html" href="http://www.cnblogs.com/kugou123/archive/2007/06/30/1562384.html"/><content type="text">这是一个封装的在.NET下面实现关机和重启的一个类，其实就是直接引用了Win32 API。业余的时间，写了个MSN机器人，后来突发灵感，想加入远程控制主机的功能，包括重启和关机，于是用上了这个类。待MSN机器人开发完成，放出源码，hoho。//关机、重启计算机 封装类using System;using System.Collections.Generic;using System.Text;us...</content></entry><entry><id>http://www.cnblogs.com/kugou123/archive/2006/10/30/1562386.html</id><title type="text">.NET中实现自绘的ListBox</title><summary type="text">在平常的开发过程中，我们为了改善用户的体验，通常会在界面上花一些功夫。因为清爽的界面，通常给用户带来一些耳目一新的感觉，并且能增强用户满意度。前几周的一个项目中，就用到了ListBox，需要突出用户在ListBox中选中的项，而.NET自带的ListBox由于配色过于普通，无法满足我们的需要，这就需要我们重新对ListBox的配色进行一些修改。在Windows的消息机制中，有一个消息叫做WM_DR...</summary><published>2006-10-30T13:16:00Z</published><updated>2006-10-30T13:16:00Z</updated><author><name>Timothy Ye</name><uri>http://www.cnblogs.com/kugou123/</uri></author><link rel="alternate" href="http://www.cnblogs.com/kugou123/archive/2006/10/30/1562386.html"/><link rel="alternate" type="text/html" href="http://www.cnblogs.com/kugou123/archive/2006/10/30/1562386.html"/><content type="text">在平常的开发过程中，我们为了改善用户的体验，通常会在界面上花一些功夫。因为清爽的界面，通常给用户带来一些耳目一新的感觉，并且能增强用户满意度。前几周的一个项目中，就用到了ListBox，需要突出用户在ListBox中选中的项，而.NET自带的ListBox由于配色过于普通，无法满足我们的需要，这就需要我们重新对ListBox的配色进行一些修改。在Windows的消息机制中，有一个消息叫做WM_DR...</content></entry></feed>
