<?xml version="1.0" encoding="utf-8"?><feed xmlns="http://www.w3.org/2005/Atom"><title type="text">博客园_Gofficer</title><subtitle type="text">学习，交流，共同进步</subtitle><id>http://feed.cnblogs.com/blog/u/26429/rss</id><updated>2010-01-25T08:11:04Z</updated><author><name>Gofficer</name><uri>http://www.cnblogs.com/gofficer/</uri></author><generator>CNBlogs BlogServer</generator><link rel="alternate" type="text/html" href="http://www.cnblogs.com/gofficer/"/><link rel="self" type="application/atom+xml" href="http://feed.cnblogs.com/blog/u/26429/rss"/><entry><id>http://www.cnblogs.com/gofficer/archive/2009/01/14/1375500.html</id><title type="text">决战紫禁之巅</title><summary type="text">为响应朋友的邀请，写了一个关于&amp;#8220;云安全&amp;#8221;的小故事。纯粹娱乐。拿出来供大家把玩。月圆之夜，紫禁之巅；一剑西来，天外飞仙。霞光映照，彩蝶翩翩；邀约高手，改地决战。光华映照，彩云之端；绝世高手，决战在前。一剑直刺，侧身斜蹿；转身回马，连环空翻。你来我往，你去我还；光怪陆离，浪起云翻。高手决战，四十九天；胜负难判，高低难参。停手罢斗，握手言欢；虽曰决战，未想伤焉。若非云顶，岂能相安...</summary><published>2009-01-14T04:41:00Z</published><updated>2009-01-14T04:41:00Z</updated><author><name>Gofficer</name><uri>http://www.cnblogs.com/gofficer/</uri></author><link rel="alternate" href="http://www.cnblogs.com/gofficer/archive/2009/01/14/1375500.html"/><link rel="alternate" type="text/html" href="http://www.cnblogs.com/gofficer/archive/2009/01/14/1375500.html"/></entry><entry><id>http://www.cnblogs.com/gofficer/archive/2008/11/28/1342817.html</id><title type="text">为学</title><summary type="text">彭端淑（清） 天下事有难易乎？为之，则难者亦易矣；不为，则易者亦难矣。人之为学有难易乎？学之，则难者亦易矣；不学，则易者亦难矣。 吾资之昏，不逮人也；吾材之庸，不逮人也。旦旦而学之，久而不怠焉，迄乎成，而亦不知其昏与庸也。吾资之聪，倍人也；吾材之敏，倍人也；屏弃而不用，其与昏与庸无以异也。圣人之道，卒于鲁也传之。然则昏庸聪敏之用，岂有常哉？ 蜀之鄙有二僧，其一贫，其一富。贫者语于富者曰：&amp;#822...</summary><published>2008-11-28T01:27:00Z</published><updated>2008-11-28T01:27:00Z</updated><author><name>Gofficer</name><uri>http://www.cnblogs.com/gofficer/</uri></author><link rel="alternate" href="http://www.cnblogs.com/gofficer/archive/2008/11/28/1342817.html"/><link rel="alternate" type="text/html" href="http://www.cnblogs.com/gofficer/archive/2008/11/28/1342817.html"/></entry><entry><id>http://www.cnblogs.com/gofficer/archive/2008/10/30/1322836.html</id><title type="text">C#网页自动登录和提交POST信息的多种方法 </title><summary type="text">网页自动登录（提交Post内容）的用途很多，如验证身份、程序升级、网络投票等，以下是用C#实现的方法。 网页自动登录和提交POST信息的核心就是分析网页的源代码（HTML），在C#中，可以用来提取网页HTML的组件比较多，常用的用WebBrowser、WebClient、HttpWebRequest这三个。以下就分别用这三种方法来实现：1、WebBrowser是个"迷你"浏览器，其特点是Post时...</summary><published>2008-10-30T03:24:00Z</published><updated>2008-10-30T03:24:00Z</updated><author><name>Gofficer</name><uri>http://www.cnblogs.com/gofficer/</uri></author><link rel="alternate" href="http://www.cnblogs.com/gofficer/archive/2008/10/30/1322836.html"/><link rel="alternate" type="text/html" href="http://www.cnblogs.com/gofficer/archive/2008/10/30/1322836.html"/></entry><entry><id>http://www.cnblogs.com/gofficer/archive/2008/10/30/1322825.html</id><title type="text">一个C#写的调用外部进程类</title><summary type="text">2008-05-21 07:00 作者： 肖波 出处： 天极网　C# 调用外部进程的类，网上可以搜出很多来，为什么要再写一遍，实在是因为最近从网上拷贝了一个简单的例程用到项目中，运行有问题，后来研究了半天，才解决了这些问题。于是打算重写，一来说说调用一个外部进程这么简单的一件事究竟会有哪些问题，二来也希望我写的这个相对比较完整的类可以为软件开发的同道们节约一些脑细胞，以便集中优势兵力解决那些真正高...</summary><published>2008-10-30T03:12:00Z</published><updated>2008-10-30T03:12:00Z</updated><author><name>Gofficer</name><uri>http://www.cnblogs.com/gofficer/</uri></author><link rel="alternate" href="http://www.cnblogs.com/gofficer/archive/2008/10/30/1322825.html"/><link rel="alternate" type="text/html" href="http://www.cnblogs.com/gofficer/archive/2008/10/30/1322825.html"/></entry><entry><id>http://www.cnblogs.com/gofficer/archive/2008/10/16/1312363.html</id><title type="text">快速实现在Windows应用程序中支持拖拽的TreeView控件（C#）</title><summary type="text">概要快速实现在Windows应用程序中支持拖拽的TreeView控件。技术描述TreeView已经提供了支持拖拽的事件：&amp;#8226;ItemDrag: 用户拖拽TreeNode时触发。当它发生时，调用DoDragDrop方法初始化拖拽过程。&amp;#8226;DragEnter: 在你初始化拖拽操作后，你必须处理目标TreeView控件的DragEnter事件。 这个事件发生在用户拖拽TreeNode...</summary><published>2008-10-16T01:52:00Z</published><updated>2008-10-16T01:52:00Z</updated><author><name>Gofficer</name><uri>http://www.cnblogs.com/gofficer/</uri></author><link rel="alternate" href="http://www.cnblogs.com/gofficer/archive/2008/10/16/1312363.html"/><link rel="alternate" type="text/html" href="http://www.cnblogs.com/gofficer/archive/2008/10/16/1312363.html"/></entry><entry><id>http://www.cnblogs.com/gofficer/archive/2008/10/15/1312017.html</id><title type="text">PPT转图片</title><summary type="text">在网上找到的一段代码，经测试可以使用，不过需要已经安装了office的ppt软件。下面吧代码拿出来和大家分享：[代码]</summary><published>2008-10-15T09:47:00Z</published><updated>2008-10-15T09:47:00Z</updated><author><name>Gofficer</name><uri>http://www.cnblogs.com/gofficer/</uri></author><link rel="alternate" href="http://www.cnblogs.com/gofficer/archive/2008/10/15/1312017.html"/><link rel="alternate" type="text/html" href="http://www.cnblogs.com/gofficer/archive/2008/10/15/1312017.html"/></entry><entry><id>http://www.cnblogs.com/gofficer/archive/2008/01/15/1039447.html</id><title type="text">开发人员，敢问路在何方？</title><summary type="text">最近又听到有人唠叨。不知道开发人员的未来在哪里。 我来说两句，也欢迎大家一起讨论。 一般来讲，开发人员，随着能力的提升，可以成为软件架构师，再高就是CIO或者CTO。当然，你也可以选择自己当老板。 还有另外一种选择，那就是做一名资深程序员。 实际上，有很多程序员，就一直在做程序开发，做几十年，做一辈子。资深程序员也可以有很高的收入，有时可能高于软件架构师、项目经理。因此，成为一名资深的开发技术专家...</summary><published>2008-01-15T03:21:00Z</published><updated>2008-01-15T03:21:00Z</updated><author><name>Gofficer</name><uri>http://www.cnblogs.com/gofficer/</uri></author><link rel="alternate" href="http://www.cnblogs.com/gofficer/archive/2008/01/15/1039447.html"/><link rel="alternate" type="text/html" href="http://www.cnblogs.com/gofficer/archive/2008/01/15/1039447.html"/></entry><entry><id>http://www.cnblogs.com/gofficer/archive/2008/01/10/1033233.html</id><title type="text">C# 实现注销、关机、重启电脑功能</title><summary type="text">Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/--&amp;gt; using System.Runtime.InteropServices;[Flags]publicenumExitWindows:uint{LogOff=0x00,//注销ShutDown=0x01,...</summary><published>2008-01-10T03:12:00Z</published><updated>2008-01-10T03:12:00Z</updated><author><name>Gofficer</name><uri>http://www.cnblogs.com/gofficer/</uri></author><link rel="alternate" href="http://www.cnblogs.com/gofficer/archive/2008/01/10/1033233.html"/><link rel="alternate" type="text/html" href="http://www.cnblogs.com/gofficer/archive/2008/01/10/1033233.html"/></entry><entry><id>http://www.cnblogs.com/gofficer/archive/2008/01/09/1032230.html</id><title type="text">ultraGrid 控件中，实现单元格内容换行显示</title><summary type="text">有一个备注的内容需要在界面上显示，由于备注内容可能比较多，单行的单元格往往显示不全，所以希望能够多行显示，以便用户查看。实现换行显示需要如下代码：ultraGrid1.DisplayLayout.Bands[0].Columns["备注"].CellMultiLine=Infragistics.Win.DefaultableBoolean.True;ultraGrid1.DisplayLayout...</summary><published>2008-01-09T08:34:00Z</published><updated>2008-01-09T08:34:00Z</updated><author><name>Gofficer</name><uri>http://www.cnblogs.com/gofficer/</uri></author><link rel="alternate" href="http://www.cnblogs.com/gofficer/archive/2008/01/09/1032230.html"/><link rel="alternate" type="text/html" href="http://www.cnblogs.com/gofficer/archive/2008/01/09/1032230.html"/></entry><entry><id>http://www.cnblogs.com/gofficer/archive/2008/01/09/1031333.html</id><title type="text">如何用一条sql取得第10到第20条的记录？ </title><summary type="text">因为id可能不是连续的，所以不能用取得10&amp;lt;id&amp;lt;20的记录的方法。有三种方法可以实现：一、搜索前20条记录，指定不包括前10条语句：select top 20 * from tbl where id not in (select top 10 id from tbl)二、搜索记录生成临时表，建立临时表的自增id。通过取得自增id的10&amp;lt;id&amp;lt;20的记录的方法取得所需数据语...</summary><published>2008-01-09T01:32:00Z</published><updated>2008-01-09T01:32:00Z</updated><author><name>Gofficer</name><uri>http://www.cnblogs.com/gofficer/</uri></author><link rel="alternate" href="http://www.cnblogs.com/gofficer/archive/2008/01/09/1031333.html"/><link rel="alternate" type="text/html" href="http://www.cnblogs.com/gofficer/archive/2008/01/09/1031333.html"/></entry></feed>
