<?xml version="1.0" encoding="UTF-8"?>
<!-- generator="wordpress/2.3.3" -->
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	>

<channel>
	<title>Automate Everything</title>
	<link>http://www.autoeverything.com.cn</link>
	<description>关于自动化相关的任何东西，包括自动化测试，Visual Studio宏， 自动化安装部署等</description>
	<pubDate>Thu, 28 Aug 2008 05:18:24 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.3.3</generator>
	<language>en</language>
			<item>
		<title>Google中国博客网志&#8212;&#8212;浪潮之巅索引</title>
		<link>http://www.autoeverything.com.cn/2008/08/28/google%e4%b8%ad%e5%9b%bd%e5%8d%9a%e5%ae%a2%e7%bd%91%e5%bf%97%e6%b5%aa%e6%bd%ae%e4%b9%8b%e5%b7%85%e7%b4%a2%e5%bc%95/</link>
		<comments>http://www.autoeverything.com.cn/2008/08/28/google%e4%b8%ad%e5%9b%bd%e5%8d%9a%e5%ae%a2%e7%bd%91%e5%bf%97%e6%b5%aa%e6%bd%ae%e4%b9%8b%e5%b7%85%e7%b4%a2%e5%bc%95/#comments</comments>
		<pubDate>Thu, 28 Aug 2008 05:18:24 +0000</pubDate>
		<dc:creator>YuFun</dc:creator>
		
		<category><![CDATA[计算机]]></category>

		<guid isPermaLink="false">http://www.autoeverything.com.cn/2008/08/28/google%e4%b8%ad%e5%9b%bd%e5%8d%9a%e5%ae%a2%e7%bd%91%e5%bf%97%e6%b5%aa%e6%bd%ae%e4%b9%8b%e5%b7%85%e7%b4%a2%e5%bc%95/</guid>
		<description><![CDATA[第一章 帝国的余辉（AT&#38;T）    1 百年帝国    2 几度繁荣    3 利令智昏    4 外来冲击    第二章 蓝色巨人（IBM）     1 赶上机械革命的最后一次浪潮    2 领导电子技术革命的浪潮    3 错过全球信... ]]></description>
			<content:encoded><![CDATA[<p><strong>第一章 帝国的余辉（AT&amp;T）</strong>    <br />1 <a href="http://googlechinablog.com/2007/07/at.html">百年帝国</a>    <br />2 <a href="http://googlechinablog.com/2007/07/at_18.html">几度繁荣</a>    <br />3 <a href="http://googlechinablog.com/2007/07/at_20.html">利令智昏</a>    <br />4 <a href="http://googlechinablog.com/2007/07/at_24.html">外来冲击</a>    <br /><strong>第二章 蓝色巨人（IBM）     <br /></strong>1 <a href="http://googlechinablog.com/2007/08/ibm.html">赶上机械革命的最后一次浪潮</a>    <br />2 <a href="http://googlechinablog.com/2007/08/ibm_06.html">领导电子技术革命的浪潮</a>    <br />3 <a href="http://googlechinablog.com/2007/08/ibm_07.html">错过全球信息化的大潮</a>    <br />4 <a href="http://googlechinablog.com/2007/08/ibm_10.html">他也是做（芯）片的</a>    <br />5 <a href="http://googlechinablog.com/2007/08/ibm_14.html">保守的创新者</a>    <br />6 <a href="http://googlechinablog.com/2007/08/ibm_17.html">内部的优胜劣汰</a>    <br /><strong>第三章 “水果”公司的复兴（乔布斯和苹果公司）</strong>    <br />1 <a href="http://googlechinablog.com/2007/08/blog-post_29.html">传奇小子</a>    <br />2 <a href="http://googlechinablog.com/2007/08/blog-post_30.html">迷失方向</a>    <br />3 <a href="http://googlechinablog.com/2007/09/blog-post_12.html">再创辉煌</a>    <br />4 <a href="http://googlechinablog.com/2007/09/blog-post_30.html">大难不死</a>    <br /><strong>第四章 计算机工业的生态链</strong>    <br />1 <a href="http://googlechinablog.com/2007/10/blog-post_10.html">摩尔定理（Moore’s Law）</a>    <br />2 <a href="http://googlechinablog.com/2007/10/blog-post_3090.html">安迪-比尔定理（Andy and Bill’s Law）</a>    <br />3 <a href="http://googlechinablog.com/2007/10/blog-post_16.html">反摩尔定理 （Reverse Moore’s Law）</a>    <br /><strong>第五章 奔腾的芯（英特尔——Intel）</strong>    <br />1 <a href="http://googlechinablog.com/2007/10/intel.html">时势造英雄</a>    <br />2 <a href="http://googlechinablog.com/2007/10/intel_26.html">英特尔摩托罗拉之战</a>    <br />3 <a href="http://googlechinablog.com/2007/10/intel_30.html">指令集之争</a>    <br />4 <a href="http://googlechinablog.com/2007/11/intel.html">英特尔和 AMD 的关系</a>    <br />5 <a href="http://googlechinablog.com/2007/11/intel_15.html">天步艰难</a>    <br /><strong>第六章 互联网的金门大桥（思科）</strong>    <br />1 <a href="http://googlechinablog.com/2007/12/blog-post_13.html">好风凭借力</a>    <br />2 <a href="http://googlechinablog.com/2007/12/blog-post_14.html">好风凭借力（续）</a>    <br />3 <a href="http://googlechinablog.com/2008/01/blog-post.html">持续发展的绝招</a>    <br />4 <a href="http://googlechinablog.com/2008/01/blog-post_04.html">竞争者</a>    <br /><strong>第七章 硅谷的见证人（惠普公司）</strong>    <br />1 <a href="http://googlechinablog.com/2008/02/blog-post_22.html">昔日硅谷之星</a>    <br />2 <a href="http://googlechinablog.com/2008/02/blog-post_27.html">争议的生死抉择</a>    <br />3 <a href="http://googlechinablog.com/2008/02/blog-post_28.html">最有争议的CEO</a>    <br />4 <a href="http://googlechinablog.com/2008/03/blog-post_04.html">亚洲制造的冲击</a>    <br />5 <a href="http://googlechinablog.com/2008/03/blog-post_10.html">峰回路转</a>    <br /><strong>第八章 没落的贵族（摩托罗拉）</strong>    <br />1 <a href="http://googlechinablog.com/2008/03/blog-post_21.html">二战的品牌</a>    <br />2 <a href="http://googlechinablog.com/2008/03/blog-post_24.html">黄金时代</a>    <br />3 <a href="http://googlechinablog.com/2008/04/blog-post_03.html">基因决定定理</a>    <br />4 <a href="http://googlechinablog.com/2008/04/blog-post_10.html">铱星计划</a>    <br />5 <a href="http://googlechinablog.com/2008/04/blog-post_11.html">全线溃败</a>    <br />6 <a href="http://googlechinablog.com/2008/04/blog-post_21.html">回天乏力</a>    <br /><strong>第九章 硅谷的另一面</strong>    <br />1 <a href="http://googlechinablog.com/2008/06/blog-post_17.html">成王败寇</a>    <br />2 <a href="http://googlechinablog.com/2008/06/blog-post_23.html">嗜血的地方</a>    <br />3 <a href="http://googlechinablog.com/2008/07/blog-post.html">机会均等</a>    <br />4 <a href="http://googlechinablog.com/2008/07/blog-post_04.html">硅含量不断降低</a>    <br />5 <a href="http://googlechinablog.com/2008/07/blog-post_08.html">亘古而常青</a>    <br /><strong>第十章 短暂的春秋——与机会失之交臂的公司</strong>    <br />第一节 太阳公司    <br /><a href="http://googlechinablog.com/2008/07/blog-post_22.html">1.1 昔日的辉煌</a>    <br /><a href="http://googlechinablog.com/2008/07/blog-post_29.html">1.2 错失良机</a>    <br /><a href="http://googlechinablog.com/2008/08/blog-post.html">1.3 历史的回放</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.autoeverything.com.cn/2008/08/28/google%e4%b8%ad%e5%9b%bd%e5%8d%9a%e5%ae%a2%e7%bd%91%e5%bf%97%e6%b5%aa%e6%bd%ae%e4%b9%8b%e5%b7%85%e7%b4%a2%e5%bc%95/feed/</wfw:commentRss>
		</item>
		<item>
		<title>.Net 内存泄露检查以及垃圾回收机制</title>
		<link>http://www.autoeverything.com.cn/2008/07/16/net-%e5%86%85%e5%ad%98%e6%b3%84%e9%9c%b2%e6%a3%80%e6%9f%a5%e4%bb%a5%e5%8f%8a%e5%9e%83%e5%9c%be%e5%9b%9e%e6%94%b6%e6%9c%ba%e5%88%b6/</link>
		<comments>http://www.autoeverything.com.cn/2008/07/16/net-%e5%86%85%e5%ad%98%e6%b3%84%e9%9c%b2%e6%a3%80%e6%9f%a5%e4%bb%a5%e5%8f%8a%e5%9e%83%e5%9c%be%e5%9b%9e%e6%94%b6%e6%9c%ba%e5%88%b6/#comments</comments>
		<pubDate>Wed, 16 Jul 2008 06:05:53 +0000</pubDate>
		<dc:creator>YuFun</dc:creator>
		
		<category><![CDATA[C#]]></category>

		<category><![CDATA[内存泄露]]></category>

		<guid isPermaLink="false">http://www.autoeverything.com.cn/2008/07/16/net-%e5%86%85%e5%ad%98%e6%b3%84%e9%9c%b2%e6%a3%80%e6%9f%a5%e4%bb%a5%e5%8f%8a%e5%9e%83%e5%9c%be%e5%9b%9e%e6%94%b6%e6%9c%ba%e5%88%b6/</guid>
		<description><![CDATA[现在在做Memory Leak的测试，需要覆盖到Native的C++ Code和Managed C# Code，下边是学习笔记和一些自己的想法…
Native的C++代码来说，内存泄露就是New的对象没有delete，概念相对Managed来说要简单很多，... ]]></description>
			<content:encoded><![CDATA[<p>现在在做Memory Leak的测试，需要覆盖到Native的C++ Code和Managed C# Code，下边是学习笔记和一些自己的想法…</p>
<p>Native的C++代码来说，内存泄露就是New的对象没有delete，概念相对Managed来说要简单很多，而且很好理解，可以用Memory Validator来做，这个工具会很明显的给出什么地方可能会有内存泄露，并给出Call Stack，我们可以看到在哪个对象New了以后没有delete。我们通过在整个solution中搜索这个变量，去看对象有没有被Return、赋值或者delete，如果都没有的话，那说明这个地方是一个内存泄露。</p>
<p>对Managed的C#代码来说，内存泄露的概念就跟Native的C++概念不同。因为所有的New所分配的内存是在托管堆上分配的，所以不存在一般意义上的内存泄露。对Managed Code来说，内存泄露就是指一些没有用的对象被reference，导致GC不能回收，从而造成这部分内存相对泄露（这个是我自己的概念^_^）。我们可以通过.Net Memory Validator和.NET Memory Profiler 3.1来跟踪内存的使用情况，从而分析内存泄露。</p>
<p>两个例子：</p>
<p>1. 比如一个全局的ArrayList里边New了很多的对象，这个ArrayList只在一个函数里边使用，那么在这个函数调用结束的时候，就必须给ArrayList赋值为null。否则这个全集的ArrayList只能等到程序结束的时候才能被释放，在这个期间因为ArrayList的引用，导致ArrayList里边的对象不能被释放回收。</p>
<p>2. 比如一个SolidBrush对对象，没有包括在using语句中，那个这个对象就不会自动被调用despose接口，导致内存泄露。</p>
]]></content:encoded>
			<wfw:commentRss>http://www.autoeverything.com.cn/2008/07/16/net-%e5%86%85%e5%ad%98%e6%b3%84%e9%9c%b2%e6%a3%80%e6%9f%a5%e4%bb%a5%e5%8f%8a%e5%9e%83%e5%9c%be%e5%9b%9e%e6%94%b6%e6%9c%ba%e5%88%b6/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Status Update:)</title>
		<link>http://www.autoeverything.com.cn/2008/06/20/status-update/</link>
		<comments>http://www.autoeverything.com.cn/2008/06/20/status-update/#comments</comments>
		<pubDate>Fri, 20 Jun 2008 01:41:59 +0000</pubDate>
		<dc:creator>YuFun</dc:creator>
		
		<category><![CDATA[心情]]></category>

		<category><![CDATA[生活]]></category>

		<guid isPermaLink="false">http://www.autoeverything.com.cn/2008/06/20/status-update/</guid>
		<description><![CDATA[Update一下Status吧，好久没写了都。
上次搬家，PSP丢了，Prs505的Reader也不舍得买，现在晚上就是打会儿魔兽世界，才13级了…
工作还算顺利，现在做Memory Leak的测试，用Memory Validator做，貌似很好... ]]></description>
			<content:encoded><![CDATA[<p>Update一下Status吧，好久没写了都。</p>
<p>上次搬家，PSP丢了，Prs505的Reader也不舍得买，现在晚上就是打会儿魔兽世界，才13级了…</p>
<p>工作还算顺利，现在做Memory Leak的测试，用Memory Validator做，貌似很好用。对Native的Code支持还是不错的，那个.Net的版本到现在也没看明白到底用来validate什么东西。.Net还有Memory Leak的问题吗？而且好像.Net的那个对被测程序影响非常大，简直惨不忍睹，AUT慢的都不是一点点，直接没法用…</p>
<p>再坚持一周，就放长假了，一周的假期，也可以再重温一下以前暑假的感觉:)</p>
]]></content:encoded>
			<wfw:commentRss>http://www.autoeverything.com.cn/2008/06/20/status-update/feed/</wfw:commentRss>
		</item>
		<item>
		<title>周末搬家&#8230;</title>
		<link>http://www.autoeverything.com.cn/2008/05/30/%e5%91%a8%e6%9c%ab%e6%90%ac%e5%ae%b6/</link>
		<comments>http://www.autoeverything.com.cn/2008/05/30/%e5%91%a8%e6%9c%ab%e6%90%ac%e5%ae%b6/#comments</comments>
		<pubDate>Fri, 30 May 2008 06:13:17 +0000</pubDate>
		<dc:creator>YuFun</dc:creator>
		
		<category><![CDATA[生活]]></category>

		<guid isPermaLink="false">http://www.autoeverything.com.cn/2008/05/30/%e5%91%a8%e6%9c%ab%e6%90%ac%e5%ae%b6/</guid>
		<description><![CDATA[都说上海房子没有涨价，但是据同学说想买房子根本就排不到号。虽然不知道房价是怎么回事，但是知道房租是实实在在的涨了很多。
房东说要涨400块钱，只好搬家了。跑了几个&#8216;我爱我家... ]]></description>
			<content:encoded><![CDATA[<p>都说上海房子没有涨价，但是据同学说想买房子根本就排不到号。虽然不知道房价是怎么回事，但是知道房租是实实在在的涨了很多。</p>
<p>房东说要涨400块钱，只好搬家了。跑了几个&#8216;我爱我家&#8217;，他们手里只有一两套一室的房子，还都是一楼，而且房型非常奇怪，想不通&#8230;</p>
<p>还得感谢网络啊，找到了现在的房东，在大街上接头交了房租，也签了合同，就等周末搬过去了，不过是6楼，我的书怎么办啊&#8230;</p>
]]></content:encoded>
			<wfw:commentRss>http://www.autoeverything.com.cn/2008/05/30/%e5%91%a8%e6%9c%ab%e6%90%ac%e5%ae%b6/feed/</wfw:commentRss>
		</item>
		<item>
		<title>你是否知道- 你可以在Object Browser中直接添加References</title>
		<link>http://www.autoeverything.com.cn/2008/05/08/%e4%bd%a0%e6%98%af%e5%90%a6%e7%9f%a5%e9%81%93-%e4%bd%a0%e5%8f%af%e4%bb%a5%e5%9c%a8%e5%af%b9%e8%b1%a1%e6%b5%8f%e8%a7%88%e5%99%a8%ef%bc%88object-browser%ef%bc%89%e4%b8%ad%e7%9b%b4%e6%8e%a5%e6%b7%bb/</link>
		<comments>http://www.autoeverything.com.cn/2008/05/08/%e4%bd%a0%e6%98%af%e5%90%a6%e7%9f%a5%e9%81%93-%e4%bd%a0%e5%8f%af%e4%bb%a5%e5%9c%a8%e5%af%b9%e8%b1%a1%e6%b5%8f%e8%a7%88%e5%99%a8%ef%bc%88object-browser%ef%bc%89%e4%b8%ad%e7%9b%b4%e6%8e%a5%e6%b7%bb/#comments</comments>
		<pubDate>Thu, 08 May 2008 02:09:35 +0000</pubDate>
		<dc:creator>YuFun</dc:creator>
		
		<category><![CDATA[VS2005]]></category>

		<category><![CDATA[技巧]]></category>

		<guid isPermaLink="false">http://www.autoeverything.com.cn/2008/05/08/%e4%bd%a0%e6%98%af%e5%90%a6%e7%9f%a5%e9%81%93-%e4%bd%a0%e5%8f%af%e4%bb%a5%e5%9c%a8%e5%af%b9%e8%b1%a1%e6%b5%8f%e8%a7%88%e5%99%a8%ef%bc%88object-browser%ef%bc%89%e4%b8%ad%e7%9b%b4%e6%8e%a5%e6%b7%bb/</guid>
		<description><![CDATA[转自：
 Did you know&#8230; You can add references to your solution directly from the Object Browser - #210
一般我们添加Reference都是通过打开Sulution Explorer，在Reference文件夹或者Project节点上点击右键，选择添加引用... ]]></description>
			<content:encoded><![CDATA[<p>转自：</p>
<p> <a href="http://blogs.msdn.com/saraford/archive/2008/05/07/did-you-know-you-can-add-references-to-your-solution-directly-from-the-object-browser-210.aspx" target="_blank">Did you know&#8230; You can add references to your solution directly from the Object Browser - #210</a>
<p>一般我们添加Reference都是通过打开Sulution Explorer，在Reference文件夹或者Project节点上点击右键，选择添加引用，然后在添加引用的对话框里边选择引用。</p>
<p>让我们看看其它的方法怎么做： 在Object Browser的工具栏上有一个按钮叫做&#8216;Add To References&#8217;</p>
<p>&#160;<a href="http://www.autoeverything.com.cn/wp-content/uploads/2008/05/objectbrowseraddreference-6.jpg"><img style="border-top-width: 0px; border-left-width: 0px; border-bottom-width: 0px; border-right-width: 0px" height="84" alt="ObjectBrowserAddReference_6" src="http://www.autoeverything.com.cn/wp-content/uploads/2008/05/objectbrowseraddreference-6-thumb.jpg" width="583" border="0" /></a> </p>
<p>然后你可以看到&#8217;Accessibility&#8217;已经被添加到了工程中</p>
<p><a href="http://www.autoeverything.com.cn/wp-content/uploads/2008/05/objectbrowseraddreference2-2.jpg"><img style="border-top-width: 0px; border-left-width: 0px; border-bottom-width: 0px; border-right-width: 0px" height="244" alt="ObjectBrowserAddReference2_2" src="http://www.autoeverything.com.cn/wp-content/uploads/2008/05/objectbrowseraddreference2-2-thumb.jpg" width="210" border="0" /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.autoeverything.com.cn/2008/05/08/%e4%bd%a0%e6%98%af%e5%90%a6%e7%9f%a5%e9%81%93-%e4%bd%a0%e5%8f%af%e4%bb%a5%e5%9c%a8%e5%af%b9%e8%b1%a1%e6%b5%8f%e8%a7%88%e5%99%a8%ef%bc%88object-browser%ef%bc%89%e4%b8%ad%e7%9b%b4%e6%8e%a5%e6%b7%bb/feed/</wfw:commentRss>
		</item>
		<item>
		<title>上海郊区采草莓（行程安排）</title>
		<link>http://www.autoeverything.com.cn/2008/05/05/%e4%b8%8a%e6%b5%b7%e9%83%8a%e5%8c%ba%e9%87%87%e8%8d%89%e8%8e%93%ef%bc%88%e8%a1%8c%e7%a8%8b%e5%ae%89%e6%8e%92%ef%bc%89/</link>
		<comments>http://www.autoeverything.com.cn/2008/05/05/%e4%b8%8a%e6%b5%b7%e9%83%8a%e5%8c%ba%e9%87%87%e8%8d%89%e8%8e%93%ef%bc%88%e8%a1%8c%e7%a8%8b%e5%ae%89%e6%8e%92%ef%bc%89/#comments</comments>
		<pubDate>Mon, 05 May 2008 07:13:57 +0000</pubDate>
		<dc:creator>YuFun</dc:creator>
		
		<category><![CDATA[生活]]></category>

		<guid isPermaLink="false">http://www.autoeverything.com.cn/2008/05/05/%e4%b8%8a%e6%b5%b7%e9%83%8a%e5%8c%ba%e9%87%87%e8%8d%89%e8%8e%93%ef%bc%88%e8%a1%8c%e7%a8%8b%e5%ae%89%e6%8e%92%ef%bc%89/</guid>
		<description><![CDATA[昨天旁边一个Team的同事Team Building去采草莓了，拿回来的草莓很不错，个头很大，而且还比较好吃:)，据说是在暖棚里边采的，而且要15块钱一斤，不过可以偷吃，这些是不收费的，嘿嘿
准备周... ]]></description>
			<content:encoded><![CDATA[<p>昨天旁边一个Team的同事Team Building去采草莓了，拿回来的草莓很不错，个头很大，而且还比较好吃:)，据说是在暖棚里边采的，而且要15块钱一斤，不过可以偷吃，这些是不收费的，嘿嘿</p>
<p>准备周末带老婆去大吃一顿:)，先把路线和计划定下： </p>
<blockquote><p>时 间: 周六早上9点出发&#160; （据网上说因为暖棚比较热，所以上午10:00~11:00比较适合）      <br />地&#160; 点: 高东镇龙跃路38号       <br />联系人: 宋亞明       <br />手&#160; 机: 13162023733       <br />交通:       <br />&#160;&#160;&#160;&#160; 地铁： 6号线五洲大道站下，打车大概20元左右到       <br />&#160;&#160;&#160;&#160; 开车： 沿五洲大道向东开右转到赵高公路,再左转上顾高公路,左转上龙跃路.共计半小时.</p>
</blockquote>
<p>附：   <br /><a title="http://bbs.yaolan.com/Thread_6914454_1.aspx" href="http://bbs.yaolan.com/Thread_6914454_1.aspx">http://bbs.yaolan.com/Thread_6914454_1.aspx</a>    <br /><a title="http://www.ilova.com.cn/lovanewbbs/thread-23654-1-1.html" href="http://www.ilova.com.cn/lovanewbbs/thread-23654-1-1.html">http://www.ilova.com.cn/lovanewbbs/thread-23654-1-1.html</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.autoeverything.com.cn/2008/05/05/%e4%b8%8a%e6%b5%b7%e9%83%8a%e5%8c%ba%e9%87%87%e8%8d%89%e8%8e%93%ef%bc%88%e8%a1%8c%e7%a8%8b%e5%ae%89%e6%8e%92%ef%bc%89/feed/</wfw:commentRss>
		</item>
		<item>
		<title>今天又到中江路的天地软件园逛了一下</title>
		<link>http://www.autoeverything.com.cn/2008/04/25/%e4%bb%8a%e5%a4%a9%e5%8f%88%e5%88%b0%e4%b8%ad%e6%b1%9f%e8%b7%af%e7%9a%84%e5%a4%a9%e5%9c%b0%e8%bd%af%e4%bb%b6%e5%9b%ad%e9%80%9b%e4%ba%86%e4%b8%80%e4%b8%8b/</link>
		<comments>http://www.autoeverything.com.cn/2008/04/25/%e4%bb%8a%e5%a4%a9%e5%8f%88%e5%88%b0%e4%b8%ad%e6%b1%9f%e8%b7%af%e7%9a%84%e5%a4%a9%e5%9c%b0%e8%bd%af%e4%bb%b6%e5%9b%ad%e9%80%9b%e4%ba%86%e4%b8%80%e4%b8%8b/#comments</comments>
		<pubDate>Fri, 25 Apr 2008 06:48:04 +0000</pubDate>
		<dc:creator>YuFun</dc:creator>
		
		<category><![CDATA[心情]]></category>

		<guid isPermaLink="false">http://www.autoeverything.com.cn/2008/04/25/%e4%bb%8a%e5%a4%a9%e5%8f%88%e5%88%b0%e4%b8%ad%e6%b1%9f%e8%b7%af%e7%9a%84%e5%a4%a9%e5%9c%b0%e8%bd%af%e4%bb%b6%e5%9b%ad%e9%80%9b%e4%ba%86%e4%b8%80%e4%b8%8b/</guid>
		<description><![CDATA[都有快两年没去了吧，当时在中软资源的时候，才呆了没几个月，就外派到紫竹去了，一呆就是一年，一年前又换到浦东的公司了，就更没有往那边去。
今天去了一下，金沙江路依然是那么堵... ]]></description>
			<content:encoded><![CDATA[<p>都有快两年没去了吧，当时在中软资源的时候，才呆了没几个月，就外派到紫竹去了，一呆就是一年，一年前又换到浦东的公司了，就更没有往那边去。</p>
<p>今天去了一下，金沙江路依然是那么堵，以前软件园边上没有盖好的楼也盖好了，咖啡厅也多了几个，KTV也有了，还有个什么娱乐城，总之没有以前那么荒凉了&#8230;&#8230;</p>
]]></content:encoded>
			<wfw:commentRss>http://www.autoeverything.com.cn/2008/04/25/%e4%bb%8a%e5%a4%a9%e5%8f%88%e5%88%b0%e4%b8%ad%e6%b1%9f%e8%b7%af%e7%9a%84%e5%a4%a9%e5%9c%b0%e8%bd%af%e4%bb%b6%e5%9b%ad%e9%80%9b%e4%ba%86%e4%b8%80%e4%b8%8b/feed/</wfw:commentRss>
		</item>
		<item>
		<title>快速找到并输入连接数据源的字符串</title>
		<link>http://www.autoeverything.com.cn/2008/04/24/%e5%bf%ab%e9%80%9f%e6%89%be%e5%88%b0%e5%b9%b6%e8%be%93%e5%85%a5%e8%bf%9e%e6%8e%a5%e6%95%b0%e6%8d%ae%e6%ba%90%e7%9a%84%e5%ad%97%e7%ac%a6%e4%b8%b2/</link>
		<comments>http://www.autoeverything.com.cn/2008/04/24/%e5%bf%ab%e9%80%9f%e6%89%be%e5%88%b0%e5%b9%b6%e8%be%93%e5%85%a5%e8%bf%9e%e6%8e%a5%e6%95%b0%e6%8d%ae%e6%ba%90%e7%9a%84%e5%ad%97%e7%ac%a6%e4%b8%b2/#comments</comments>
		<pubDate>Thu, 24 Apr 2008 05:18:15 +0000</pubDate>
		<dc:creator>YuFun</dc:creator>
		
		<category><![CDATA[Database]]></category>

		<guid isPermaLink="false">http://www.autoeverything.com.cn/2008/04/24/%e5%bf%ab%e9%80%9f%e6%89%be%e5%88%b0%e5%b9%b6%e8%be%93%e5%85%a5%e8%bf%9e%e6%8e%a5%e6%95%b0%e6%8d%ae%e6%ba%90%e7%9a%84%e5%ad%97%e7%ac%a6%e4%b8%b2/</guid>
		<description><![CDATA[以前在学校的时候，从一个做数据库的同学那里知道下边的这个方法，结果后来忘掉那个扩展名是&#8217;udl&#8217;了，今天看到完美Excel的这篇文章，赶快转帖过来，以防止以后忘掉:)
转自：快速... ]]></description>
			<content:encoded><![CDATA[<p>以前在学校的时候，从一个做数据库的同学那里知道下边的这个方法，结果后来忘掉那个扩展名是&#8217;udl&#8217;了，今天看到<a href="http://www.excelperfect.com">完美Excel</a>的这篇文章，赶快转帖过来，以防止以后忘掉:)</p>
<p>转自：<a href="http://www.excelperfect.com/2008/04/23/getdatabaselinkstring/">快速找到并输入连接数据源的字符串</a></p>
<p>最近，又复习了《Excel 2003 VBA Programmer&#8217;s Reference》关于数据库编程的章节，上面介绍了一种快速找到连接数据源的字符串的方法，介绍如下，供参考。   <br />通常，在Excel VBA中要与外部数据库连接前，必须先建立与该数据源的连接，即要设置连接字符串，如下面的代码：    <br />Dim strConnectString As String    <br />strConnectString=&#8221; Provider=Microsoft.Jet.OLEDB.4.0;Data Source=C:\Documents and Settings\FW\桌面\Northwind.mdb;Persist Security Info=False&#8221;    <br />如果直接输入，将很麻烦且易出错。我们可以使用下面的方法：    <br /><strong>步骤1</strong> 在桌面建立一个文本文件，并将其扩展名改为&#8220;udl&#8221;，如下图。    <br /><a href="http://www.excelperfect.com/wordpress/wp-content/uploads/2008/04/udlfile1.jpg"><img alt="udlfile1" src="http://www.excelperfect.com/wordpress/wp-content/uploads/2008/04/udlfile1.jpg" /></a>    <br /><strong>步骤2</strong> 双击该文件，出现&#8220;数据链接属性&#8221;对话框，如下图。    <br /><a href="http://www.excelperfect.com/wordpress/wp-content/uploads/2008/04/datalinkpropertydia.jpg"><img alt="Datalinkpropertydia" src="http://www.excelperfect.com/wordpress/wp-content/uploads/2008/04/datalinkpropertydia.jpg" /></a>    <br />在&#8220;提供程序&#8221;选项卡的列表中选择希望连接的数据源，本例为&#8220;Microsoft Jet 4.0 OLE DB Provider&#8221;。    <br /><strong>步骤3</strong> 然后，单击&#8220;下一步&#8221;按钮，如图所示，转到&#8220;连接&#8221;选项卡（不同的数据源此选项卡中的内容会有所不同）。    <br /><a href="http://www.excelperfect.com/wordpress/wp-content/uploads/2008/04/datalinkpropertydia1.jpg"><img alt="Datalinkpropertydia1" src="http://www.excelperfect.com/wordpress/wp-content/uploads/2008/04/datalinkpropertydia1.jpg" /></a>    <br /><strong>步骤4</strong> 单击&#8220;选择或输入数据库名称&#8221;文本框右侧的选择按钮，选择相应的数据库文件。单击&#8220;确定&#8221;按钮。    <br /><strong>步骤5</strong> 在记事本中打开该文件，如下图。    <br /><a href="http://www.excelperfect.com/wordpress/wp-content/uploads/2008/04/resulttxt2.jpg"><img alt="resulttxt2" src="http://www.excelperfect.com/wordpress/wp-content/uploads/2008/04/resulttxt2.jpg" /></a>    <br />其中，以Provider开头的两行即为连接字符串。我们可以将其直接复制到程序代码中。</p>
<p><a href="http://www.excelperfect.com/index.php?tag=access">Access</a>, <a href="http://www.excelperfect.com/index.php?tag=database">Database</a>, <a href="http://www.excelperfect.com/index.php?tag=excel">Excel</a>, <a href="http://www.excelperfect.com/index.php?tag=vba">VBA</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.autoeverything.com.cn/2008/04/24/%e5%bf%ab%e9%80%9f%e6%89%be%e5%88%b0%e5%b9%b6%e8%be%93%e5%85%a5%e8%bf%9e%e6%8e%a5%e6%95%b0%e6%8d%ae%e6%ba%90%e7%9a%84%e5%ad%97%e7%ac%a6%e4%b8%b2/feed/</wfw:commentRss>
		</item>
		<item>
		<title>55招玩转Google</title>
		<link>http://www.autoeverything.com.cn/2008/04/23/55%e6%8b%9b%e7%8e%a9%e8%bd%acgoogle/</link>
		<comments>http://www.autoeverything.com.cn/2008/04/23/55%e6%8b%9b%e7%8e%a9%e8%bd%acgoogle/#comments</comments>
		<pubDate>Wed, 23 Apr 2008 06:17:04 +0000</pubDate>
		<dc:creator>YuFun</dc:creator>
		
		<category><![CDATA[Google]]></category>

		<category><![CDATA[技巧]]></category>

		<guid isPermaLink="false">http://www.autoeverything.com.cn/2008/04/23/55%e6%8b%9b%e7%8e%a9%e8%bd%acgoogle/</guid>
		<description><![CDATA[转一本很好的书：http://www.yangyc.com/55fun/
章节目录

用Google找自己
Google贪吃蛇
枚枚页：适者生存
Google愤怒症游戏&#38;Google图像小测试
Google谚语进行时
浏览网站的全部图片
Google运动简史
Google是... ]]></description>
			<content:encoded><![CDATA[<p>转一本很好的书：<a title="http://www.yangyc.com/55fun/" href="http://www.yangyc.com/55fun/">http://www.yangyc.com/55fun/</a></p>
<h4>章节目录</h4>
<ol>
<li><a href="http://blog.yangyc.com/?p=18">用Google找自己</a></li>
<li><a href="http://blog.yangyc.com/?p=19">Google贪吃蛇</a></li>
<li><a href="http://blog.yangyc.com/?p=22">枚枚页：适者生存</a></li>
<li><a href="http://blog.yangyc.com/?p=21">Google愤怒症游戏&amp;Google图像小测试</a></li>
<li><a href="http://blog.yangyc.com/?p=20">Google谚语进行时</a></li>
<li><a href="http://blog.yangyc.com/?p=23">浏览网站的全部图片</a></li>
<li><a href="http://blog.yangyc.com/?p=24">Google运动简史</a></li>
<li><a href="http://blog.yangyc.com/?p=25">Google是什么？它为何有趣？</a></li>
<li><a href="http://blog.yangyc.com/?p=26">Google为我们节约了多少时间？</a></li>
<li><a href="http://blog.yangyc.com/?p=27">Google帮你做柠檬鸡</a></li>
<li><a href="http://blog.yangyc.com/?p=29">道格拉斯&#8226;亚当斯和Google计算器</a></li>
<li><a href="http://blog.yangyc.com/?p=30">Oops，我又Google了一把</a></li>
<li><a href="http://blog.yangyc.com/?p=31">小魔术：Google图标大变身</a></li>
<li><a href="http://blog.yangyc.com/?p=33">Wiki上的趣味Google Maps玩法</a></li>
<li><a href="http://blog.yangyc.com/?p=34">德夫-多曼的Googlewhack</a></li>
<li><a href="http://blog.yangyc.com/?p=37">Google你问我答</a></li>
<li><a href="http://blog.yangyc.com/?p=38">庆祝非婚礼，及其它</a></li>
<li>
<p><a href="http://blog.yangyc.com/?p=40">用SketchUp设计你的梦想之家</a></p>
</li>
<li><a href="http://blog.yangyc.com/?p=41">凯文&#183;培根和Google关系网</a></li>
<li><a href="http://blog.yangyc.com/?p=42">Google字母表</a></li>
<li><a href="http://blog.yangyc.com/?p=46">Google搜索小贴士</a></li>
<li>Google公园 </li>
<li><a href="http://blog.yangyc.com/?p=49">GoogleShare</a></li>
<li><a href="http://blog.yangyc.com/?p=50">最短和最多的Google搜索</a></li>
<li><a href="http://blog.yangyc.com/?p=51">旋转Google和迷你Google</a></li>
<li><a href="http://blog.yangyc.com/?p=52">Google小测试：你有多了解Google？</a></li>
<li><a href="http://blog.yangyc.com/?p=54">根据记忆重绘Google</a></li>
<li>Google News怪现象 </li>
<li><a href="http://blog.yangyc.com/?p=55">外星人入侵Google！</a></li>
<li><a href="http://blog.yangyc.com/?p=57">Google沉溺症的十个症状</a></li>
<li><a href="http://blog.yangyc.com/?p=70">凿个穿透地球的洞</a></li>
<li><a href="http://blog.yangyc.com/?p=74">Googlebombing</a></li>
<li><a href="http://blog.yangyc.com/?p=78">Google广告洋相大观</a></li>
<li><a href="http://blog.yangyc.com/?p=81">G世代的生活</a></li>
<li><a href="http://blog.yangyc.com/?p=82">Google黑客</a></li>
<li><a href="http://blog.yangyc.com/?p=83">Google调查: 问问大家的意见</a></li>
<li><a href="http://blog.yangyc.com/?p=85">Google大战游戏</a></li>
<li>如果Google作恶了会如何？附：未来Google的5项发明<a href="http://blog.yangyc.com/?p=91">【上】</a>|<a href="http://blog.yangyc.com/?p=98">【下】</a></li>
<li><a href="http://blog.yangyc.com/?p=101">Google冒险游戏</a></li>
<li><a href="http://blog.yangyc.com/?p=107">Egobot, 来自网络的声音</a></li>
<li><a href="http://blog.yangyc.com/?p=109">有趣的Google小玩意</a></li>
<li><a href="http://blog.yangyc.com/?p=116">科幻时间【1/4】_杰克寻母记</a>      <br /><a href="http://blog.yangyc.com/?p=117">科幻时间【2/4】_事故：页面等级值为100</a>      <br /><a href="http://blog.yangyc.com/?p=120">科幻时间【3/4】_网络大脑</a>      <br /><a href="http://blog.yangyc.com/?p=121">科幻时间【4/4】_Google机器人常见问答</a></li>
<li><a href="http://blog.yangyc.com/?p=124">Google世界记录之书</a></li>
<li><a href="http://blog.yangyc.com/?p=126">拼写错误仓库</a></li>
<li><a href="http://blog.yangyc.com/?p=131">Google 网上论坛，时间机器</a></li>
<li>&#8230;&#8230;翻译进行中&#8230;&#8230;</li>
</ol>
]]></content:encoded>
			<wfw:commentRss>http://www.autoeverything.com.cn/2008/04/23/55%e6%8b%9b%e7%8e%a9%e8%bd%acgoogle/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Triivi：&#8220;搜狗式&#8221;英文输入法</title>
		<link>http://www.autoeverything.com.cn/2008/04/22/triivi%ef%bc%9a%e6%90%9c%e7%8b%97%e5%bc%8f%e8%8b%b1%e6%96%87%e8%be%93%e5%85%a5%e6%b3%95/</link>
		<comments>http://www.autoeverything.com.cn/2008/04/22/triivi%ef%bc%9a%e6%90%9c%e7%8b%97%e5%bc%8f%e8%8b%b1%e6%96%87%e8%be%93%e5%85%a5%e6%b3%95/#comments</comments>
		<pubDate>Tue, 22 Apr 2008 07:30:21 +0000</pubDate>
		<dc:creator>YuFun</dc:creator>
		
		<category><![CDATA[软件]]></category>

		<guid isPermaLink="false">http://www.autoeverything.com.cn/2008/04/22/triivi%ef%bc%9a%e6%90%9c%e7%8b%97%e5%bc%8f%e8%8b%b1%e6%96%87%e8%be%93%e5%85%a5%e6%b3%95/</guid>
		<description><![CDATA[
转载自：http://soft.72pines.com/triivi/
拼音输入你用什么？智能ABC还是微软拼音？我还是坚持之前的选择：搜狗拼音输入法。随着它3.0正式版的推出，一些新的特性又陆续加入，不论从稳定性和功... ]]></description>
			<content:encoded><![CDATA[</p>
<p>转载自：<a title="http://soft.72pines.com/triivi/" href="http://soft.72pines.com/triivi/">http://soft.72pines.com/triivi/</a></p>
<p>拼音输入你用什么？智能ABC还是微软拼音？我还是坚持之前的选择：<a href="http://soft.72pines.com/sougou-pinyin/">搜狗拼音输入法</a>。随着它3.0正式版的推出，一些新的特性又陆续加入，不论从稳定性和功能上都大有进步，值得升级。但今天的&#8220;主角&#8221;不是搜狗，而是一个名叫Triivi的输入法，一个号称能让英文输入变得无比惬意的输入法。</p>
<p>软件安装程序有7.85M，要是完整安装的话要占用28M左右的空间，其实主要是词库文件比较大，不过可以按需所选：</p>
<p><a href="http://photo5.yupoo.com/20071102/224500_1891463451_rmvmwkot.jpg"></a></p>
<p><a href="http://photo5.yupoo.com/20071102/224500_1891463451_rmvmwkot.jpg"><img height="179" alt="Triivi 1" src="http://photo5.yupoo.com/20071102/224500_1891463451_m.jpg" width="240" border="0" /></a></p>
<p>启动后默认界面是英文，双击托盘处图标调出设置界面，把它变成中文吧：</p>
<p><a href="http://photo11.yupoo.com/20071102/224501_23868489_evyzgmdg.jpg"></a></p>
<p><a href="http://photo11.yupoo.com/20071102/224501_23868489_evyzgmdg.jpg"><img height="188" alt="Triivi 2" src="http://photo11.yupoo.com/20071102/224501_23868489_m.jpg" width="240" border="0" /></a></p>
<p>是不是这样看起来亲切许多？再好好设置一下使其更符合我们的使用习惯，比如显示字体、大小、热键、单词库等等：</p>
<p><a href="http://photo11.yupoo.com/20071102/224501_1072498548_svutweat.jpg"></a></p>
<p><a href="http://photo11.yupoo.com/20071102/224501_1072498548_svutweat.jpg"><img height="188" alt="Triivi 3" src="http://photo11.yupoo.com/20071102/224501_1072498548_m.jpg" width="240" border="0" /></a></p>
<p>一切准备就绪，赶紧输入几句英文试试，首先是自动完成：</p>
<p><img src="http://photo5.yupoo.com/20071102/224643_995488238_qkiqyqta.jpg" /></p>
<p>按动上下键，稍等片刻就能得到单词的中文翻译：</p>
<p><img src="http://photo11.yupoo.com/20071102/224644_798188723_jffbgmun.jpg" /></p>
<p>要是输错了还有相应提示：</p>
<p><img height="302" src="http://photo11.yupoo.com/20071102/224644_1828938928_eetwsfrl.jpg" width="202" /></p>
<p>Triivi是一款很智能的输入法，而且它还是开源免费的，与搜狗搭配使用，输遍中英不用愁。但它同样不完美：&#8220;获取更多专业词库&#8221;按钮点了没反应，只能自己到<a href="http://www.triivi.com/default.asp">主页</a>上找；在启用了搜狗或微软拼音状态下Triivi的英文输入无效。</p>
<p>如果你经常要跟英语打交道，那我建议装上这个软件试试，难道你不想体验惬意地输入英文是种什么感觉吗？^_^</p>
<p><a href="http://www.triivi.com/downcnt.asp?url=http://www.triivi.com/files/Triivi.exe&amp;local=1">下载</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.autoeverything.com.cn/2008/04/22/triivi%ef%bc%9a%e6%90%9c%e7%8b%97%e5%bc%8f%e8%8b%b1%e6%96%87%e8%be%93%e5%85%a5%e6%b3%95/feed/</wfw:commentRss>
		</item>
		<item>
		<title>C#中使用多线程，并与UI同步</title>
		<link>http://www.autoeverything.com.cn/2008/04/21/c%e4%b8%ad%e4%bd%bf%e7%94%a8%e5%a4%9a%e7%ba%bf%e7%a8%8b%ef%bc%8c%e5%b9%b6%e4%b8%8eui%e5%90%8c%e6%ad%a5/</link>
		<comments>http://www.autoeverything.com.cn/2008/04/21/c%e4%b8%ad%e4%bd%bf%e7%94%a8%e5%a4%9a%e7%ba%bf%e7%a8%8b%ef%bc%8c%e5%b9%b6%e4%b8%8eui%e5%90%8c%e6%ad%a5/#comments</comments>
		<pubDate>Mon, 21 Apr 2008 03:32:25 +0000</pubDate>
		<dc:creator>YuFun</dc:creator>
		
		<category><![CDATA[C#]]></category>

		<category><![CDATA[自动化测试]]></category>

		<guid isPermaLink="false">http://www.autoeverything.com.cn/2008/04/21/c%e4%b8%ad%e4%bd%bf%e7%94%a8%e5%a4%9a%e7%ba%bf%e7%a8%8b%ef%bc%8c%e5%b9%b6%e4%b8%8eui%e5%90%8c%e6%ad%a5/</guid>
		<description><![CDATA[我们有时候需要做一些很耗时间的操作，比如到网络上拿一些数据或者对很多数据进行运算处理，如果是在单线程的程序中，这些运算就会阻塞UI线程，现象就是UI不能响应用户的任何操作，不... ]]></description>
			<content:encoded><![CDATA[<p>我们有时候需要做一些很耗时间的操作，比如到网络上拿一些数据或者对很多数据进行运算处理，如果是在单线程的程序中，这些运算就会阻塞UI线程，现象就是UI不能响应用户的任何操作，不会刷新。这个时候用户很可能以为程序已经死掉，从而造成很差的用户体验。    <br />解决方法：将很耗时间的运算和处理放在单独的一个线程中进行，UI操作不会受到影响，用户还可以进行其它操作（如果UI中有些操作依赖于当前的的处理，我们可以先将它灰掉，在处理线程结束后再使其可用。更好的是在UI的线程中放一个进度条，来告诉用户当前的处理进度）</p>
<blockquote><p>在C#中做多线程的处理非常简单：      <br />只需要用代理(Delegate)和跟代理相关的两个函数：       <br />1. <a href="http://msdn2.microsoft.com/en-us/magazine/cc301332.aspx" target="_blank">BeginInvoke</a>&#160; 这个方法将代理指向的方法在一个单独的线程中调用       <br />&#160;&#160; 使用方法：       <br />&#160;&#160;&#160;&#160; a. 声明一个代理的对象       <br />&#160;&#160;&#160;&#160; b. 用这个代理对象调用BeginInvoke方法&#160;&#160;&#160;&#160; <a href="http://www.autoeverything.com.cn/wp-content/uploads/2008/04/image.png">&#160;&#160;&#160;&#160; </a></p>
<p>2. <a href="http://msdn2.microsoft.com/zh-cn/library/system.windows.forms.control.invoke(VS.80).aspx" target="_blank">Control.Invoke</a> 这个方法在当前UI的线程空间内调用代理所指向的方法       <br />&#160;&#160;&#160; 使用方法：       <br />&#160;&#160;&#160;&#160;&#160; a. 声明一个代理对象       <br />&#160;&#160;&#160;&#160;&#160; b. 调用控件的Invoke方法(一般在WinForm程序中，可以调用this.Invoke方法)，将代理对象作为参数传递过去</p>
<p>看代码：</p>
<div style="border-right: gray 1px solid; padding-right: 4px; border-top: gray 1px solid; padding-left: 4px; font-size: 8pt; padding-bottom: 4px; margin: 20px 0px 10px; overflow: auto; border-left: gray 1px solid; width: 97.5%; cursor: text; max-height: 450px; line-height: 12pt; padding-top: 4px; border-bottom: gray 1px solid; font-family: consolas, &#39;Courier New&#39;, courier, monospace; background-color: #f4f4f4">
<div style="padding-right: 0px; padding-left: 0px; font-size: 8pt; padding-bottom: 0px; overflow: visible; width: 100%; color: black; border-top-style: none; line-height: 12pt; padding-top: 0px; font-family: consolas, &#39;Courier New&#39;, courier, monospace; border-right-style: none; border-left-style: none; background-color: #f4f4f4; border-bottom-style: none">
<pre style="padding-right: 0px; padding-left: 0px; font-size: 8pt; padding-bottom: 0px; margin: 0em; overflow: visible; width: 100%; color: black; border-top-style: none; line-height: 12pt; padding-top: 0px; font-family: consolas, &#39;Courier New&#39;, courier, monospace; border-right-style: none; border-left-style: none; background-color: white; border-bottom-style: none"><span style="color: #606060">   1:</span> <span style="color: #0000ff">private</span> <span style="color: #0000ff">delegate</span> <span style="color: #0000ff">void</span> LoadPhotosDelegate(SearchParam param);</pre>
<pre style="padding-right: 0px; padding-left: 0px; font-size: 8pt; padding-bottom: 0px; margin: 0em; overflow: visible; width: 100%; color: black; border-top-style: none; line-height: 12pt; padding-top: 0px; font-family: consolas, &#39;Courier New&#39;, courier, monospace; border-right-style: none; border-left-style: none; background-color: #f4f4f4; border-bottom-style: none"><span style="color: #606060">   2:</span> <span style="color: #0000ff">private</span> <span style="color: #0000ff">void</span> LoadPhotosFromFlickr(SearchParam param)</pre>
<pre style="padding-right: 0px; padding-left: 0px; font-size: 8pt; padding-bottom: 0px; margin: 0em; overflow: visible; width: 100%; color: black; border-top-style: none; line-height: 12pt; padding-top: 0px; font-family: consolas, &#39;Courier New&#39;, courier, monospace; border-right-style: none; border-left-style: none; background-color: white; border-bottom-style: none"><span style="color: #606060">   3:</span> {</pre>
<pre style="padding-right: 0px; padding-left: 0px; font-size: 8pt; padding-bottom: 0px; margin: 0em; overflow: visible; width: 100%; color: black; border-top-style: none; line-height: 12pt; padding-top: 0px; font-family: consolas, &#39;Courier New&#39;, courier, monospace; border-right-style: none; border-left-style: none; background-color: #f4f4f4; border-bottom-style: none"><span style="color: #606060">   4:</span>     UpdateUIDelegate updateUI = <span style="color: #0000ff">new</span> UpdateUIDelegate(<span style="color: #0000ff">this</span>.UpdataUI);</pre>
<pre style="padding-right: 0px; padding-left: 0px; font-size: 8pt; padding-bottom: 0px; margin: 0em; overflow: visible; width: 100%; color: black; border-top-style: none; line-height: 12pt; padding-top: 0px; font-family: consolas, &#39;Courier New&#39;, courier, monospace; border-right-style: none; border-left-style: none; background-color: white; border-bottom-style: none"><span style="color: #606060">   5:</span>     <span style="color: #0000ff">this</span>.Invoke(updateUI);</pre>
<pre style="padding-right: 0px; padding-left: 0px; font-size: 8pt; padding-bottom: 0px; margin: 0em; overflow: visible; width: 100%; color: black; border-top-style: none; line-height: 12pt; padding-top: 0px; font-family: consolas, &#39;Courier New&#39;, courier, monospace; border-right-style: none; border-left-style: none; background-color: #f4f4f4; border-bottom-style: none"><span style="color: #606060">   6:</span> }</pre>
<pre style="padding-right: 0px; padding-left: 0px; font-size: 8pt; padding-bottom: 0px; margin: 0em; overflow: visible; width: 100%; color: black; border-top-style: none; line-height: 12pt; padding-top: 0px; font-family: consolas, &#39;Courier New&#39;, courier, monospace; border-right-style: none; border-left-style: none; background-color: white; border-bottom-style: none"><span style="color: #606060">   7:</span>&#160; </pre>
<pre style="padding-right: 0px; padding-left: 0px; font-size: 8pt; padding-bottom: 0px; margin: 0em; overflow: visible; width: 100%; color: black; border-top-style: none; line-height: 12pt; padding-top: 0px; font-family: consolas, &#39;Courier New&#39;, courier, monospace; border-right-style: none; border-left-style: none; background-color: #f4f4f4; border-bottom-style: none"><span style="color: #606060">   8:</span> <span style="color: #0000ff">private</span> <span style="color: #0000ff">delegate</span> <span style="color: #0000ff">void</span> UpdateUIDelegate();</pre>
<pre style="padding-right: 0px; padding-left: 0px; font-size: 8pt; padding-bottom: 0px; margin: 0em; overflow: visible; width: 100%; color: black; border-top-style: none; line-height: 12pt; padding-top: 0px; font-family: consolas, &#39;Courier New&#39;, courier, monospace; border-right-style: none; border-left-style: none; background-color: white; border-bottom-style: none"><span style="color: #606060">   9:</span> <span style="color: #0000ff">private</span> <span style="color: #0000ff">void</span> UpdataUI()</pre>
<pre style="padding-right: 0px; padding-left: 0px; font-size: 8pt; padding-bottom: 0px; margin: 0em; overflow: visible; width: 100%; color: black; border-top-style: none; line-height: 12pt; padding-top: 0px; font-family: consolas, &#39;Courier New&#39;, courier, monospace; border-right-style: none; border-left-style: none; background-color: #f4f4f4; border-bottom-style: none"><span style="color: #606060">  10:</span> {</pre>
<pre style="padding-right: 0px; padding-left: 0px; font-size: 8pt; padding-bottom: 0px; margin: 0em; overflow: visible; width: 100%; color: black; border-top-style: none; line-height: 12pt; padding-top: 0px; font-family: consolas, &#39;Courier New&#39;, courier, monospace; border-right-style: none; border-left-style: none; background-color: white; border-bottom-style: none"><span style="color: #606060">  11:</span>     <span style="color: #008000">//进行UI的更新操作，比如更新进度条，显示图片等</span></pre>
<pre style="padding-right: 0px; padding-left: 0px; font-size: 8pt; padding-bottom: 0px; margin: 0em; overflow: visible; width: 100%; color: black; border-top-style: none; line-height: 12pt; padding-top: 0px; font-family: consolas, &#39;Courier New&#39;, courier, monospace; border-right-style: none; border-left-style: none; background-color: #f4f4f4; border-bottom-style: none"><span style="color: #606060">  12:</span> }</pre>
<pre style="padding-right: 0px; padding-left: 0px; font-size: 8pt; padding-bottom: 0px; margin: 0em; overflow: visible; width: 100%; color: black; border-top-style: none; line-height: 12pt; padding-top: 0px; font-family: consolas, &#39;Courier New&#39;, courier, monospace; border-right-style: none; border-left-style: none; background-color: white; border-bottom-style: none"><span style="color: #606060">  13:</span>&#160; </pre>
<pre style="padding-right: 0px; padding-left: 0px; font-size: 8pt; padding-bottom: 0px; margin: 0em; overflow: visible; width: 100%; color: black; border-top-style: none; line-height: 12pt; padding-top: 0px; font-family: consolas, &#39;Courier New&#39;, courier, monospace; border-right-style: none; border-left-style: none; background-color: #f4f4f4; border-bottom-style: none"><span style="color: #606060">  14:</span> <span style="color: #0000ff">private</span> <span style="color: #0000ff">void</span> SearchPhoto(SearchParam param)</pre>
<pre style="padding-right: 0px; padding-left: 0px; font-size: 8pt; padding-bottom: 0px; margin: 0em; overflow: visible; width: 100%; color: black; border-top-style: none; line-height: 12pt; padding-top: 0px; font-family: consolas, &#39;Courier New&#39;, courier, monospace; border-right-style: none; border-left-style: none; background-color: white; border-bottom-style: none"><span style="color: #606060">  15:</span> {</pre>
<pre style="padding-right: 0px; padding-left: 0px; font-size: 8pt; padding-bottom: 0px; margin: 0em; overflow: visible; width: 100%; color: black; border-top-style: none; line-height: 12pt; padding-top: 0px; font-family: consolas, &#39;Courier New&#39;, courier, monospace; border-right-style: none; border-left-style: none; background-color: #f4f4f4; border-bottom-style: none"><span style="color: #606060">  16:</span>     LoadPhotosDelegate loadPhotos = <span style="color: #0000ff">new</span> LoadPhotosDelegate(LoadPhotosFromFlickr);</pre>
<pre style="padding-right: 0px; padding-left: 0px; font-size: 8pt; padding-bottom: 0px; margin: 0em; overflow: visible; width: 100%; color: black; border-top-style: none; line-height: 12pt; padding-top: 0px; font-family: consolas, &#39;Courier New&#39;, courier, monospace; border-right-style: none; border-left-style: none; background-color: white; border-bottom-style: none"><span style="color: #606060">  17:</span>     loadPhotos.BeginInvoke(param, <span style="color: #0000ff">null</span>, <span style="color: #0000ff">null</span>);</pre>
<pre style="padding-right: 0px; padding-left: 0px; font-size: 8pt; padding-bottom: 0px; margin: 0em; overflow: visible; width: 100%; color: black; border-top-style: none; line-height: 12pt; padding-top: 0px; font-family: consolas, &#39;Courier New&#39;, courier, monospace; border-right-style: none; border-left-style: none; background-color: #f4f4f4; border-bottom-style: none"><span style="color: #606060">  18:</span> }</pre>
</p></div>
</p></div>
</blockquote>
]]></content:encoded>
			<wfw:commentRss>http://www.autoeverything.com.cn/2008/04/21/c%e4%b8%ad%e4%bd%bf%e7%94%a8%e5%a4%9a%e7%ba%bf%e7%a8%8b%ef%bc%8c%e5%b9%b6%e4%b8%8eui%e5%90%8c%e6%ad%a5/feed/</wfw:commentRss>
		</item>
		<item>
		<title>在C#中调用API进行截屏</title>
		<link>http://www.autoeverything.com.cn/2008/04/21/%e5%9c%a8c%e4%b8%ad%e8%b0%83%e7%94%a8api%e8%bf%9b%e8%a1%8c%e6%88%aa%e5%b1%8f/</link>
		<comments>http://www.autoeverything.com.cn/2008/04/21/%e5%9c%a8c%e4%b8%ad%e8%b0%83%e7%94%a8api%e8%bf%9b%e8%a1%8c%e6%88%aa%e5%b1%8f/#comments</comments>
		<pubDate>Mon, 21 Apr 2008 02:58:18 +0000</pubDate>
		<dc:creator>YuFun</dc:creator>
		
		<category><![CDATA[C#]]></category>

		<guid isPermaLink="false">http://www.autoeverything.com.cn/2008/04/21/%e5%9c%a8c%e4%b8%ad%e8%b0%83%e7%94%a8api%e8%bf%9b%e8%a1%8c%e6%88%aa%e5%b1%8f/</guid>
		<description><![CDATA[看代码：
需要Reference下面的DLL：      &#160; System.Drawing       &#160; System.Windows.Forms       &#160; WindowBase 



   1: using System;
   2: using System.Collections.Generic;
   3: using System.Text;
   4: using System.Windows;
   5: us... ]]></description>
			<content:encoded><![CDATA[<p>看代码：</p>
<blockquote><p>需要Reference下面的DLL：      <br />&#160; System.Drawing       <br />&#160; System.Windows.Forms       <br />&#160; WindowBase </p>
</blockquote>
<div style="border-right: gray 1px solid; padding-right: 4px; border-top: gray 1px solid; padding-left: 4px; font-size: 8pt; padding-bottom: 4px; margin: 20px 0px 10px; overflow: auto; border-left: gray 1px solid; width: 97.5%; cursor: text; max-height: 1450px; line-height: 12pt; padding-top: 4px; border-bottom: gray 1px solid; font-family: consolas, &#39;Courier New&#39;, courier, monospace; background-color: #f4f4f4">
<div style="padding-right: 0px; padding-left: 0px; font-size: 8pt; padding-bottom: 0px; overflow: visible; width: 100%; color: black; border-top-style: none; line-height: 12pt; padding-top: 0px; font-family: consolas, &#39;Courier New&#39;, courier, monospace; border-right-style: none; border-left-style: none; background-color: #f4f4f4; border-bottom-style: none">
<pre style="padding-right: 0px; padding-left: 0px; font-size: 8pt; padding-bottom: 0px; margin: 0em; overflow: visible; width: 100%; color: black; border-top-style: none; line-height: 12pt; padding-top: 0px; font-family: consolas, &#39;Courier New&#39;, courier, monospace; border-right-style: none; border-left-style: none; background-color: white; border-bottom-style: none"><span style="color: #606060">   1:</span> <span style="color: #0000ff">using</span> System;</pre>
<pre style="padding-right: 0px; padding-left: 0px; font-size: 8pt; padding-bottom: 0px; margin: 0em; overflow: visible; width: 100%; color: black; border-top-style: none; line-height: 12pt; padding-top: 0px; font-family: consolas, &#39;Courier New&#39;, courier, monospace; border-right-style: none; border-left-style: none; background-color: #f4f4f4; border-bottom-style: none"><span style="color: #606060">   2:</span> <span style="color: #0000ff">using</span> System.Collections.Generic;</pre>
<pre style="padding-right: 0px; padding-left: 0px; font-size: 8pt; padding-bottom: 0px; margin: 0em; overflow: visible; width: 100%; color: black; border-top-style: none; line-height: 12pt; padding-top: 0px; font-family: consolas, &#39;Courier New&#39;, courier, monospace; border-right-style: none; border-left-style: none; background-color: white; border-bottom-style: none"><span style="color: #606060">   3:</span> <span style="color: #0000ff">using</span> System.Text;</pre>
<pre style="padding-right: 0px; padding-left: 0px; font-size: 8pt; padding-bottom: 0px; margin: 0em; overflow: visible; width: 100%; color: black; border-top-style: none; line-height: 12pt; padding-top: 0px; font-family: consolas, &#39;Courier New&#39;, courier, monospace; border-right-style: none; border-left-style: none; background-color: #f4f4f4; border-bottom-style: none"><span style="color: #606060">   4:</span> <span style="color: #0000ff">using</span> System.Windows;</pre>
<pre style="padding-right: 0px; padding-left: 0px; font-size: 8pt; padding-bottom: 0px; margin: 0em; overflow: visible; width: 100%; color: black; border-top-style: none; line-height: 12pt; padding-top: 0px; font-family: consolas, &#39;Courier New&#39;, courier, monospace; border-right-style: none; border-left-style: none; background-color: white; border-bottom-style: none"><span style="color: #606060">   5:</span> <span style="color: #0000ff">using</span> System.Windows.Forms;</pre>
<pre style="padding-right: 0px; padding-left: 0px; font-size: 8pt; padding-bottom: 0px; margin: 0em; overflow: visible; width: 100%; color: black; border-top-style: none; line-height: 12pt; padding-top: 0px; font-family: consolas, &#39;Courier New&#39;, courier, monospace; border-right-style: none; border-left-style: none; background-color: #f4f4f4; border-bottom-style: none"><span style="color: #606060">   6:</span> <span style="color: #0000ff">using</span> System.Drawing;</pre>
<pre style="padding-right: 0px; padding-left: 0px; font-size: 8pt; padding-bottom: 0px; margin: 0em; overflow: visible; width: 100%; color: black; border-top-style: none; line-height: 12pt; padding-top: 0px; font-family: consolas, &#39;Courier New&#39;, courier, monospace; border-right-style: none; border-left-style: none; background-color: white; border-bottom-style: none"><span style="color: #606060">   7:</span> <span style="color: #0000ff">using</span> System.Runtime.InteropServices;</pre>
<pre style="padding-right: 0px; padding-left: 0px; font-size: 8pt; padding-bottom: 0px; margin: 0em; overflow: visible; width: 100%; color: black; border-top-style: none; line-height: 12pt; padding-top: 0px; font-family: consolas, &#39;Courier New&#39;, courier, monospace; border-right-style: none; border-left-style: none; background-color: #f4f4f4; border-bottom-style: none"><span style="color: #606060">   8:</span>&#160; </pre>
<pre style="padding-right: 0px; padding-left: 0px; font-size: 8pt; padding-bottom: 0px; margin: 0em; overflow: visible; width: 100%; color: black; border-top-style: none; line-height: 12pt; padding-top: 0px; font-family: consolas, &#39;Courier New&#39;, courier, monospace; border-right-style: none; border-left-style: none; background-color: white; border-bottom-style: none"><span style="color: #606060">   9:</span> <span style="color: #0000ff">namespace</span> ConsoleApplication1</pre>
<pre style="padding-right: 0px; padding-left: 0px; font-size: 8pt; padding-bottom: 0px; margin: 0em; overflow: visible; width: 100%; color: black; border-top-style: none; line-height: 12pt; padding-top: 0px; font-family: consolas, &#39;Courier New&#39;, courier, monospace; border-right-style: none; border-left-style: none; background-color: #f4f4f4; border-bottom-style: none"><span style="color: #606060">  10:</span> {</pre>
<pre style="padding-right: 0px; padding-left: 0px; font-size: 8pt; padding-bottom: 0px; margin: 0em; overflow: visible; width: 100%; color: black; border-top-style: none; line-height: 12pt; padding-top: 0px; font-family: consolas, &#39;Courier New&#39;, courier, monospace; border-right-style: none; border-left-style: none; background-color: white; border-bottom-style: none"><span style="color: #606060">  11:</span>     <span style="color: #0000ff">class</span> Program</pre>
<pre style="padding-right: 0px; padding-left: 0px; font-size: 8pt; padding-bottom: 0px; margin: 0em; overflow: visible; width: 100%; color: black; border-top-style: none; line-height: 12pt; padding-top: 0px; font-family: consolas, &#39;Courier New&#39;, courier, monospace; border-right-style: none; border-left-style: none; background-color: #f4f4f4; border-bottom-style: none"><span style="color: #606060">  12:</span>     {</pre>
<pre style="padding-right: 0px; padding-left: 0px; font-size: 8pt; padding-bottom: 0px; margin: 0em; overflow: visible; width: 100%; color: black; border-top-style: none; line-height: 12pt; padding-top: 0px; font-family: consolas, &#39;Courier New&#39;, courier, monospace; border-right-style: none; border-left-style: none; background-color: white; border-bottom-style: none"><span style="color: #606060">  13:</span>         [System.Runtime.InteropServices.DllImport(<span style="color: #006080">&quot;gdi32.dll&quot;</span>)]</pre>
<pre style="padding-right: 0px; padding-left: 0px; font-size: 8pt; padding-bottom: 0px; margin: 0em; overflow: visible; width: 100%; color: black; border-top-style: none; line-height: 12pt; padding-top: 0px; font-family: consolas, &#39;Courier New&#39;, courier, monospace; border-right-style: none; border-left-style: none; background-color: #f4f4f4; border-bottom-style: none"><span style="color: #606060">  14:</span>         <span style="color: #0000ff">public</span> <span style="color: #0000ff">static</span> <span style="color: #0000ff">extern</span> IntPtr CreateDC(<span style="color: #0000ff">string</span> driver, <span style="color: #0000ff">string</span> device, IntPtr res1, IntPtr res2);</pre>
<pre style="padding-right: 0px; padding-left: 0px; font-size: 8pt; padding-bottom: 0px; margin: 0em; overflow: visible; width: 100%; color: black; border-top-style: none; line-height: 12pt; padding-top: 0px; font-family: consolas, &#39;Courier New&#39;, courier, monospace; border-right-style: none; border-left-style: none; background-color: white; border-bottom-style: none"><span style="color: #606060">  15:</span>&#160; </pre>
<pre style="padding-right: 0px; padding-left: 0px; font-size: 8pt; padding-bottom: 0px; margin: 0em; overflow: visible; width: 100%; color: black; border-top-style: none; line-height: 12pt; padding-top: 0px; font-family: consolas, &#39;Courier New&#39;, courier, monospace; border-right-style: none; border-left-style: none; background-color: #f4f4f4; border-bottom-style: none"><span style="color: #606060">  16:</span>         <span style="color: #0000ff">public</span> <span style="color: #0000ff">enum</span> TernaryRasterOperations</pre>
<pre style="padding-right: 0px; padding-left: 0px; font-size: 8pt; padding-bottom: 0px; margin: 0em; overflow: visible; width: 100%; color: black; border-top-style: none; line-height: 12pt; padding-top: 0px; font-family: consolas, &#39;Courier New&#39;, courier, monospace; border-right-style: none; border-left-style: none; background-color: white; border-bottom-style: none"><span style="color: #606060">  17:</span>         {</pre>
<pre style="padding-right: 0px; padding-left: 0px; font-size: 8pt; padding-bottom: 0px; margin: 0em; overflow: visible; width: 100%; color: black; border-top-style: none; line-height: 12pt; padding-top: 0px; font-family: consolas, &#39;Courier New&#39;, courier, monospace; border-right-style: none; border-left-style: none; background-color: #f4f4f4; border-bottom-style: none"><span style="color: #606060">  18:</span>             SRCCOPY = 0&#215;00CC0020, <span style="color: #008000">/* dest = source*/</span></pre>
<pre style="padding-right: 0px; padding-left: 0px; font-size: 8pt; padding-bottom: 0px; margin: 0em; overflow: visible; width: 100%; color: black; border-top-style: none; line-height: 12pt; padding-top: 0px; font-family: consolas, &#39;Courier New&#39;, courier, monospace; border-right-style: none; border-left-style: none; background-color: white; border-bottom-style: none"><span style="color: #606060">  19:</span>             SRCPAINT = 0&#215;00EE0086, <span style="color: #008000">/* dest = source OR dest*/</span></pre>
<pre style="padding-right: 0px; padding-left: 0px; font-size: 8pt; padding-bottom: 0px; margin: 0em; overflow: visible; width: 100%; color: black; border-top-style: none; line-height: 12pt; padding-top: 0px; font-family: consolas, &#39;Courier New&#39;, courier, monospace; border-right-style: none; border-left-style: none; background-color: #f4f4f4; border-bottom-style: none"><span style="color: #606060">  20:</span>             SRCAND = 0&#215;008800C6, <span style="color: #008000">/* dest = source AND dest*/</span></pre>
<pre style="padding-right: 0px; padding-left: 0px; font-size: 8pt; padding-bottom: 0px; margin: 0em; overflow: visible; width: 100%; color: black; border-top-style: none; line-height: 12pt; padding-top: 0px; font-family: consolas, &#39;Courier New&#39;, courier, monospace; border-right-style: none; border-left-style: none; background-color: white; border-bottom-style: none"><span style="color: #606060">  21:</span>             SRCINVERT = 0&#215;00660046, <span style="color: #008000">/* dest = source XOR dest*/</span></pre>
<pre style="padding-right: 0px; padding-left: 0px; font-size: 8pt; padding-bottom: 0px; margin: 0em; overflow: visible; width: 100%; color: black; border-top-style: none; line-height: 12pt; padding-top: 0px; font-family: consolas, &#39;Courier New&#39;, courier, monospace; border-right-style: none; border-left-style: none; background-color: #f4f4f4; border-bottom-style: none"><span style="color: #606060">  22:</span>             SRCERASE = 0&#215;00440328, <span style="color: #008000">/* dest = source AND (NOT dest )*/</span></pre>
<pre style="padding-right: 0px; padding-left: 0px; font-size: 8pt; padding-bottom: 0px; margin: 0em; overflow: visible; width: 100%; color: black; border-top-style: none; line-height: 12pt; padding-top: 0px; font-family: consolas, &#39;Courier New&#39;, courier, monospace; border-right-style: none; border-left-style: none; background-color: white; border-bottom-style: none"><span style="color: #606060">  23:</span>             NOTSRCCOPY = 0&#215;00330008, <span style="color: #008000">/* dest = (NOT source)*/</span></pre>
<pre style="padding-right: 0px; padding-left: 0px; font-size: 8pt; padding-bottom: 0px; margin: 0em; overflow: visible; width: 100%; color: black; border-top-style: none; line-height: 12pt; padding-top: 0px; font-family: consolas, &#39;Courier New&#39;, courier, monospace; border-right-style: none; border-left-style: none; background-color: #f4f4f4; border-bottom-style: none"><span style="color: #606060">  24:</span>             NOTSRCERASE = 0&#215;001100A6, <span style="color: #008000">/* dest = (NOT src) AND (NOT dest) */</span></pre>
<pre style="padding-right: 0px; padding-left: 0px; font-size: 8pt; padding-bottom: 0px; margin: 0em; overflow: visible; width: 100%; color: black; border-top-style: none; line-height: 12pt; padding-top: 0px; font-family: consolas, &#39;Courier New&#39;, courier, monospace; border-right-style: none; border-left-style: none; background-color: white; border-bottom-style: none"><span style="color: #606060">  25:</span>             MERGECOPY = 0&#215;00C000CA, <span style="color: #008000">/* dest = (source AND pattern)*/</span></pre>
<pre style="padding-right: 0px; padding-left: 0px; font-size: 8pt; padding-bottom: 0px; margin: 0em; overflow: visible; width: 100%; color: black; border-top-style: none; line-height: 12pt; padding-top: 0px; font-family: consolas, &#39;Courier New&#39;, courier, monospace; border-right-style: none; border-left-style: none; background-color: #f4f4f4; border-bottom-style: none"><span style="color: #606060">  26:</span>             MERGEPAINT = 0&#215;00BB0226, <span style="color: #008000">/* dest = (NOT source) OR dest*/</span></pre>
<pre style="padding-right: 0px; padding-left: 0px; font-size: 8pt; padding-bottom: 0px; margin: 0em; overflow: visible; width: 100%; color: black; border-top-style: none; line-height: 12pt; padding-top: 0px; font-family: consolas, &#39;Courier New&#39;, courier, monospace; border-right-style: none; border-left-style: none; background-color: white; border-bottom-style: none"><span style="color: #606060">  27:</span>             PATCOPY = 0&#215;00F00021, <span style="color: #008000">/* dest = pattern*/</span></pre>
<pre style="padding-right: 0px; padding-left: 0px; font-size: 8pt; padding-bottom: 0px; margin: 0em; overflow: visible; width: 100%; color: black; border-top-style: none; line-height: 12pt; padding-top: 0px; font-family: consolas, &#39;Courier New&#39;, courier, monospace; border-right-style: none; border-left-style: none; background-color: #f4f4f4; border-bottom-style: none"><span style="color: #606060">  28:</span>             PATPAINT = 0&#215;00FB0A09, <span style="color: #008000">/* dest = DPSnoo*/</span></pre>
<pre style="padding-right: 0px; padding-left: 0px; font-size: 8pt; padding-bottom: 0px; margin: 0em; overflow: visible; width: 100%; color: black; border-top-style: none; line-height: 12pt; padding-top: 0px; font-family: consolas, &#39;Courier New&#39;, courier, monospace; border-right-style: none; border-left-style: none; background-color: white; border-bottom-style: none"><span style="color: #606060">  29:</span>             PATINVERT = 0&#215;005A0049, <span style="color: #008000">/* dest = pattern XOR dest*/</span></pre>
<pre style="padding-right: 0px; padding-left: 0px; font-size: 8pt; padding-bottom: 0px; margin: 0em; overflow: visible; width: 100%; color: black; border-top-style: none; line-height: 12pt; padding-top: 0px; font-family: consolas, &#39;Courier New&#39;, courier, monospace; border-right-style: none; border-left-style: none; background-color: #f4f4f4; border-bottom-style: none"><span style="color: #606060">  30:</span>             DSTINVERT = 0&#215;00550009, <span style="color: #008000">/* dest = (NOT dest)*/</span></pre>
<pre style="padding-right: 0px; padding-left: 0px; font-size: 8pt; padding-bottom: 0px; margin: 0em; overflow: visible; width: 100%; color: black; border-top-style: none; line-height: 12pt; padding-top: 0px; font-family: consolas, &#39;Courier New&#39;, courier, monospace; border-right-style: none; border-left-style: none; background-color: white; border-bottom-style: none"><span style="color: #606060">  31:</span>             BLACKNESS = 0&#215;00000042, <span style="color: #008000">/* dest = BLACK*/</span></pre>
<pre style="padding-right: 0px; padding-left: 0px; font-size: 8pt; padding-bottom: 0px; margin: 0em; overflow: visible; width: 100%; color: black; border-top-style: none; line-height: 12pt; padding-top: 0px; font-family: consolas, &#39;Courier New&#39;, courier, monospace; border-right-style: none; border-left-style: none; background-color: #f4f4f4; border-bottom-style: none"><span style="color: #606060">  32:</span>             WHITENESS = 0&#215;00FF0062, <span style="color: #008000">/* dest = WHITE*/</span></pre>
<pre style="padding-right: 0px; padding-left: 0px; font-size: 8pt; padding-bottom: 0px; margin: 0em; overflow: visible; width: 100%; color: black; border-top-style: none; line-height: 12pt; padding-top: 0px; font-family: consolas, &#39;Courier New&#39;, courier, monospace; border-right-style: none; border-left-style: none; background-color: white; border-bottom-style: none"><span style="color: #606060">  33:</span>         };</pre>
<pre style="padding-right: 0px; padding-left: 0px; font-size: 8pt; padding-bottom: 0px; margin: 0em; overflow: visible; width: 100%; color: black; border-top-style: none; line-height: 12pt; padding-top: 0px; font-family: consolas, &#39;Courier New&#39;, courier, monospace; border-right-style: none; border-left-style: none; background-color: #f4f4f4; border-bottom-style: none"><span style="color: #606060">  34:</span>&#160; </pre>
<pre style="padding-right: 0px; padding-left: 0px; font-size: 8pt; padding-bottom: 0px; margin: 0em; overflow: visible; width: 100%; color: black; border-top-style: none; line-height: 12pt; padding-top: 0px; font-family: consolas, &#39;Courier New&#39;, courier, monospace; border-right-style: none; border-left-style: none; background-color: white; border-bottom-style: none"><span style="color: #606060">  35:</span>         [DllImport(<span style="color: #006080">&quot;gdi32.dll&quot;</span>)]</pre>
<pre style="padding-right: 0px; padding-left: 0px; font-size: 8pt; padding-bottom: 0px; margin: 0em; overflow: visible; width: 100%; color: black; border-top-style: none; line-height: 12pt; padding-top: 0px; font-family: consolas, &#39;Courier New&#39;, courier, monospace; border-right-style: none; border-left-style: none; background-color: #f4f4f4; border-bottom-style: none"><span style="color: #606060">  36:</span>         <span style="color: #0000ff">public</span> <span style="color: #0000ff">static</span> <span style="color: #0000ff">extern</span> <span style="color: #0000ff">bool</span> BitBlt(IntPtr hObject, <span style="color: #0000ff">int</span> nXDest, <span style="color: #0000ff">int</span> nYDest, <span style="color: #0000ff">int</span> nWidth,</pre>
<pre style="padding-right: 0px; padding-left: 0px; font-size: 8pt; padding-bottom: 0px; margin: 0em; overflow: visible; width: 100%; color: black; border-top-style: none; line-height: 12pt; padding-top: 0px; font-family: consolas, &#39;Courier New&#39;, courier, monospace; border-right-style: none; border-left-style: none; background-color: white; border-bottom-style: none"><span style="color: #606060">  37:</span>             <span style="color: #0000ff">int</span> nHeight, IntPtr hObjSource, <span style="color: #0000ff">int</span> nXSrc, <span style="color: #0000ff">int</span> nYSrc, TernaryRasterOperations dwRop);</pre>
<pre style="padding-right: 0px; padding-left: 0px; font-size: 8pt; padding-bottom: 0px; margin: 0em; overflow: visible; width: 100%; color: black; border-top-style: none; line-height: 12pt; padding-top: 0px; font-family: consolas, &#39;Courier New&#39;, courier, monospace; border-right-style: none; border-left-style: none; background-color: #f4f4f4; border-bottom-style: none"><span style="color: #606060">  38:</span>&#160; </pre>
<pre style="padding-right: 0px; padding-left: 0px; font-size: 8pt; padding-bottom: 0px; margin: 0em; overflow: visible; width: 100%; color: black; border-top-style: none; line-height: 12pt; padding-top: 0px; font-family: consolas, &#39;Courier New&#39;, courier, monospace; border-right-style: none; border-left-style: none; background-color: white; border-bottom-style: none"><span style="color: #606060">  39:</span>         <span style="color: #0000ff">public</span> <span style="color: #0000ff">static</span> <span style="color: #0000ff">void</span> CaptureDesktop(<span style="color: #0000ff">string</span> sPath)</pre>
<pre style="padding-right: 0px; padding-left: 0px; font-size: 8pt; padding-bottom: 0px; margin: 0em; overflow: visible; width: 100%; color: black; border-top-style: none; line-height: 12pt; padding-top: 0px; font-family: consolas, &#39;Courier New&#39;, courier, monospace; border-right-style: none; border-left-style: none; background-color: #f4f4f4; border-bottom-style: none"><span style="color: #606060">  40:</span>         {</pre>
<pre style="padding-right: 0px; padding-left: 0px; font-size: 8pt; padding-bottom: 0px; margin: 0em; overflow: visible; width: 100%; color: black; border-top-style: none; line-height: 12pt; padding-top: 0px; font-family: consolas, &#39;Courier New&#39;, courier, monospace; border-right-style: none; border-left-style: none; background-color: white; border-bottom-style: none"><span style="color: #606060">  41:</span>             Rect rect = <span style="color: #0000ff">new</span> Rect();</pre>
<pre style="padding-right: 0px; padding-left: 0px; font-size: 8pt; padding-bottom: 0px; margin: 0em; overflow: visible; width: 100%; color: black; border-top-style: none; line-height: 12pt; padding-top: 0px; font-family: consolas, &#39;Courier New&#39;, courier, monospace; border-right-style: none; border-left-style: none; background-color: #f4f4f4; border-bottom-style: none"><span style="color: #606060">  42:</span>             rect.Width = Screen.PrimaryScreen.Bounds.Width;</pre>
<pre style="padding-right: 0px; padding-left: 0px; font-size: 8pt; padding-bottom: 0px; margin: 0em; overflow: visible; width: 100%; color: black; border-top-style: none; line-height: 12pt; padding-top: 0px; font-family: consolas, &#39;Courier New&#39;, courier, monospace; border-right-style: none; border-left-style: none; background-color: white; border-bottom-style: none"><span style="color: #606060">  43:</span>             rect.Height = Screen.PrimaryScreen.Bounds.Height;</pre>
<pre style="padding-right: 0px; padding-left: 0px; font-size: 8pt; padding-bottom: 0px; margin: 0em; overflow: visible; width: 100%; color: black; border-top-style: none; line-height: 12pt; padding-top: 0px; font-family: consolas, &#39;Courier New&#39;, courier, monospace; border-right-style: none; border-left-style: none; background-color: #f4f4f4; border-bottom-style: none"><span style="color: #606060">  44:</span>&#160; </pre>
<pre style="padding-right: 0px; padding-left: 0px; font-size: 8pt; padding-bottom: 0px; margin: 0em; overflow: visible; width: 100%; color: black; border-top-style: none; line-height: 12pt; padding-top: 0px; font-family: consolas, &#39;Courier New&#39;, courier, monospace; border-right-style: none; border-left-style: none; background-color: white; border-bottom-style: none"><span style="color: #606060">  45:</span>             IntPtr dcTmp = CreateDC(<span style="color: #006080">&quot;DISPLAY&quot;</span>, <span style="color: #006080">&quot;DISPLAY&quot;</span>, (IntPtr)<span style="color: #0000ff">null</span>, (IntPtr)<span style="color: #0000ff">null</span>);</pre>
<pre style="padding-right: 0px; padding-left: 0px; font-size: 8pt; padding-bottom: 0px; margin: 0em; overflow: visible; width: 100%; color: black; border-top-style: none; line-height: 12pt; padding-top: 0px; font-family: consolas, &#39;Courier New&#39;, courier, monospace; border-right-style: none; border-left-style: none; background-color: #f4f4f4; border-bottom-style: none"><span style="color: #606060">  46:</span>             Graphics gScreen = Graphics.FromHdc(dcTmp);</pre>
<pre style="padding-right: 0px; padding-left: 0px; font-size: 8pt; padding-bottom: 0px; margin: 0em; overflow: visible; width: 100%; color: black; border-top-style: none; line-height: 12pt; padding-top: 0px; font-family: consolas, &#39;Courier New&#39;, courier, monospace; border-right-style: none; border-left-style: none; background-color: white; border-bottom-style: none"><span style="color: #606060">  47:</span>             Bitmap image = <span style="color: #0000ff">new</span> Bitmap((<span style="color: #0000ff">int</span>)(rect.Width), (<span style="color: #0000ff">int</span>)(rect.Height), System.Drawing.Imaging.PixelFormat.Format24bppRgb);</pre>
<pre style="padding-right: 0px; padding-left: 0px; font-size: 8pt; padding-bottom: 0px; margin: 0em; overflow: visible; width: 100%; color: black; border-top-style: none; line-height: 12pt; padding-top: 0px; font-family: consolas, &#39;Courier New&#39;, courier, monospace; border-right-style: none; border-left-style: none; background-color: #f4f4f4; border-bottom-style: none"><span style="color: #606060">  48:</span>             Graphics gImage = Graphics.FromImage(image);</pre>
<pre style="padding-right: 0px; padding-left: 0px; font-size: 8pt; padding-bottom: 0px; margin: 0em; overflow: visible; width: 100%; color: black; border-top-style: none; line-height: 12pt; padding-top: 0px; font-family: consolas, &#39;Courier New&#39;, courier, monospace; border-right-style: none; border-left-style: none; background-color: white; border-bottom-style: none"><span style="color: #606060">  49:</span>             IntPtr dcImage = gImage.GetHdc();</pre>
<pre style="padding-right: 0px; padding-left: 0px; font-size: 8pt; padding-bottom: 0px; margin: 0em; overflow: visible; width: 100%; color: black; border-top-style: none; line-height: 12pt; padding-top: 0px; font-family: consolas, &#39;Courier New&#39;, courier, monospace; border-right-style: none; border-left-style: none; background-color: #f4f4f4; border-bottom-style: none"><span style="color: #606060">  50:</span>             IntPtr dcScreen = gScreen.GetHdc();</pre>
<pre style="padding-right: 0px; padding-left: 0px; font-size: 8pt; padding-bottom: 0px; margin: 0em; overflow: visible; width: 100%; color: black; border-top-style: none; line-height: 12pt; padding-top: 0px; font-family: consolas, &#39;Courier New&#39;, courier, monospace; border-right-style: none; border-left-style: none; background-color: white; border-bottom-style: none"><span style="color: #606060">  51:</span>             BitBlt(dcImage, 0, 0, (<span style="color: #0000ff">int</span>)(rect.Width), (<span style="color: #0000ff">int</span>)(rect.Height), dcScreen, (<span style="color: #0000ff">int</span>)(rect.Left), (<span style="color: #0000ff">int</span>)(rect.Top), TernaryRasterOperations.SRCCOPY);</pre>
<pre style="padding-right: 0px; padding-left: 0px; font-size: 8pt; padding-bottom: 0px; margin: 0em; overflow: visible; width: 100%; color: black; border-top-style: none; line-height: 12pt; padding-top: 0px; font-family: consolas, &#39;Courier New&#39;, courier, monospace; border-right-style: none; border-left-style: none; background-color: #f4f4f4; border-bottom-style: none"><span style="color: #606060">  52:</span>             gScreen.ReleaseHdc(dcScreen);</pre>
<pre style="padding-right: 0px; padding-left: 0px; font-size: 8pt; padding-bottom: 0px; margin: 0em; overflow: visible; width: 100%; color: black; border-top-style: none; line-height: 12pt; padding-top: 0px; font-family: consolas, &#39;Courier New&#39;, courier, monospace; border-right-style: none; border-left-style: none; background-color: white; border-bottom-style: none"><span style="color: #606060">  53:</span>             gImage.ReleaseHdc(dcImage);</pre>
<pre style="padding-right: 0px; padding-left: 0px; font-size: 8pt; padding-bottom: 0px; margin: 0em; overflow: visible; width: 100%; color: black; border-top-style: none; line-height: 12pt; padding-top: 0px; font-family: consolas, &#39;Courier New&#39;, courier, monospace; border-right-style: none; border-left-style: none; background-color: #f4f4f4; border-bottom-style: none"><span style="color: #606060">  54:</span>&#160; </pre>
<pre style="padding-right: 0px; padding-left: 0px; font-size: 8pt; padding-bottom: 0px; margin: 0em; overflow: visible; width: 100%; color: black; border-top-style: none; line-height: 12pt; padding-top: 0px; font-family: consolas, &#39;Courier New&#39;, courier, monospace; border-right-style: none; border-left-style: none; background-color: white; border-bottom-style: none"><span style="color: #606060">  55:</span>             image.Save(sPath);</pre>
<pre style="padding-right: 0px; padding-left: 0px; font-size: 8pt; padding-bottom: 0px; margin: 0em; overflow: visible; width: 100%; color: black; border-top-style: none; line-height: 12pt; padding-top: 0px; font-family: consolas, &#39;Courier New&#39;, courier, monospace; border-right-style: none; border-left-style: none; background-color: #f4f4f4; border-bottom-style: none"><span style="color: #606060">  56:</span>         }</pre>
<pre style="padding-right: 0px; padding-left: 0px; font-size: 8pt; padding-bottom: 0px; margin: 0em; overflow: visible; width: 100%; color: black; border-top-style: none; line-height: 12pt; padding-top: 0px; font-family: consolas, &#39;Courier New&#39;, courier, monospace; border-right-style: none; border-left-style: none; background-color: white; border-bottom-style: none"><span style="color: #606060">  57:</span>&#160; </pre>
<pre style="padding-right: 0px; padding-left: 0px; font-size: 8pt; padding-bottom: 0px; margin: 0em; overflow: visible; width: 100%; color: black; border-top-style: none; line-height: 12pt; padding-top: 0px; font-family: consolas, &#39;Courier New&#39;, courier, monospace; border-right-style: none; border-left-style: none; background-color: #f4f4f4; border-bottom-style: none"><span style="color: #606060">  58:</span>         <span style="color: #0000ff">static</span> <span style="color: #0000ff">void</span> Main(<span style="color: #0000ff">string</span>[] args)</pre>
<pre style="padding-right: 0px; padding-left: 0px; font-size: 8pt; padding-bottom: 0px; margin: 0em; overflow: visible; width: 100%; color: black; border-top-style: none; line-height: 12pt; padding-top: 0px; font-family: consolas, &#39;Courier New&#39;, courier, monospace; border-right-style: none; border-left-style: none; background-color: white; border-bottom-style: none"><span style="color: #606060">  59:</span>         {</pre>
<pre style="padding-right: 0px; padding-left: 0px; font-size: 8pt; padding-bottom: 0px; margin: 0em; overflow: visible; width: 100%; color: black; border-top-style: none; line-height: 12pt; padding-top: 0px; font-family: consolas, &#39;Courier New&#39;, courier, monospace; border-right-style: none; border-left-style: none; background-color: #f4f4f4; border-bottom-style: none"><span style="color: #606060">  60:</span>             CaptureDesktop(<span style="color: #006080">&quot;c:\\1.bmp&quot;</span>);</pre>
<pre style="padding-right: 0px; padding-left: 0px; font-size: 8pt; padding-bottom: 0px; margin: 0em; overflow: visible; width: 100%; color: black; border-top-style: none; line-height: 12pt; padding-top: 0px; font-family: consolas, &#39;Courier New&#39;, courier, monospace; border-right-style: none; border-left-style: none; background-color: white; border-bottom-style: none"><span style="color: #606060">  61:</span>         }</pre>
<pre style="padding-right: 0px; padding-left: 0px; font-size: 8pt; padding-bottom: 0px; margin: 0em; overflow: visible; width: 100%; color: black; border-top-style: none; line-height: 12pt; padding-top: 0px; font-family: consolas, &#39;Courier New&#39;, courier, monospace; border-right-style: none; border-left-style: none; background-color: #f4f4f4; border-bottom-style: none"><span style="color: #606060">  62:</span>     }</pre>
<pre style="padding-right: 0px; padding-left: 0px; font-size: 8pt; padding-bottom: 0px; margin: 0em; overflow: visible; width: 100%; color: black; border-top-style: none; line-height: 12pt; padding-top: 0px; font-family: consolas, &#39;Courier New&#39;, courier, monospace; border-right-style: none; border-left-style: none; background-color: white; border-bottom-style: none"><span style="color: #606060">  63:</span> }</pre>
</p></div>
</div>
]]></content:encoded>
			<wfw:commentRss>http://www.autoeverything.com.cn/2008/04/21/%e5%9c%a8c%e4%b8%ad%e8%b0%83%e7%94%a8api%e8%bf%9b%e8%a1%8c%e6%88%aa%e5%b1%8f/feed/</wfw:commentRss>
		</item>
		<item>
		<title>PictureTrail的照片展示</title>
		<link>http://www.autoeverything.com.cn/2008/04/15/picturetrail%e7%9a%84%e7%85%a7%e7%89%87%e5%b1%95%e7%a4%ba/</link>
		<comments>http://www.autoeverything.com.cn/2008/04/15/picturetrail%e7%9a%84%e7%85%a7%e7%89%87%e5%b1%95%e7%a4%ba/#comments</comments>
		<pubDate>Tue, 15 Apr 2008 05:49:30 +0000</pubDate>
		<dc:creator>YuFun</dc:creator>
		
		<category><![CDATA[未分类]]></category>

		<guid isPermaLink="false">http://www.autoeverything.com.cn/2008/04/15/picturetrail%e7%9a%84%e7%85%a7%e7%89%87%e5%b1%95%e7%a4%ba/</guid>
		<description><![CDATA[

... ]]></description>
			<content:encoded><![CDATA[<div style="visibility:visible"><embed src="http://flash.picturetrail.com/pflicks/3/spflick.swf" quality="high" FlashVars="ql=2&#038;src1=http://pic50.picturetrail.com/VOL400/10957797/flicks/1/4498236&#038;src2=http://widgetize.picturetrail.com/flicks/4498236" wmode="transparent" bgcolor="#000000" width="460" height="350" name="floating_pics" align="middle" allowScriptAccess="sameDomain" style="height:350px;width:460px" type="application/x-shockwave-flash"></embed>
<p style="whitespace:no-wrap;margin-top:10px;height:24px"><a href="http://www.picturetrail.com/misc/counter.fcgi?link=%2FphotoFlick%2Fsamples%2Fpflicks.shtml&#038;cID=924"><img align="left" src="http://pics.picturetrail.com/res/pflicks/pt.gif" border="0"></a><a href="http://www.picturetrail.com/misc/counter.fcgi?link=%2FphotoFlick%2Fsamples%2Fpflicks.shtml&#038;cID=925"><img align="left" style="margin-left:5px" src="http://pics.picturetrail.com/res/pflicks/pt2.gif" border="0"></a><a href="http://www.picturetrail.com/misc/counter.fcgi?link=http%3A%2F%2Fwww.picturetrail.com%2Fmanage%2Fflicks&#038;cID=995"><img align="left" style="margin-left:5px" src="http://pics.picturetrail.com/res/pflicks/pt3.gif" border="0"></a></p>
</div>
]]></content:encoded>
			<wfw:commentRss>http://www.autoeverything.com.cn/2008/04/15/picturetrail%e7%9a%84%e7%85%a7%e7%89%87%e5%b1%95%e7%a4%ba/feed/</wfw:commentRss>
		</item>
		<item>
		<title>我所使用的Firefox扩展</title>
		<link>http://www.autoeverything.com.cn/2008/04/15/%e6%88%91%e6%89%80%e4%bd%bf%e7%94%a8%e7%9a%84firefox%e6%89%a9%e5%b1%95/</link>
		<comments>http://www.autoeverything.com.cn/2008/04/15/%e6%88%91%e6%89%80%e4%bd%bf%e7%94%a8%e7%9a%84firefox%e6%89%a9%e5%b1%95/#comments</comments>
		<pubDate>Tue, 15 Apr 2008 02:30:01 +0000</pubDate>
		<dc:creator>YuFun</dc:creator>
		
		<category><![CDATA[Firefox]]></category>

		<guid isPermaLink="false">http://www.autoeverything.com.cn/2008/04/15/%e6%88%91%e6%89%80%e4%bd%bf%e7%94%a8%e7%9a%84firefox%e6%89%a9%e5%b1%95/</guid>
		<description><![CDATA[
Adblock Plus      广告已成往事 
Add Bookmark Here
All-In-One Gestures      鼠标手势 
ColorZilla
Compact Menu
del.icio.us Bookmarks      美味书签 
Foxmarks bookmark synchronizer      Firefox书签同步 
Google Toolbar 
Greasemonkey 
IE Tab... ]]></description>
			<content:encoded><![CDATA[<ol>
<li>Adblock Plus      <br />广告已成往事 </li>
<li>Add Bookmark Here</li>
<li>All-In-One Gestures      <br />鼠标手势 </li>
<li>ColorZilla</li>
<li>Compact Menu</li>
<li>del.icio.us Bookmarks      <br />美味书签 </li>
<li>Foxmarks bookmark synchronizer      <br />Firefox书签同步 </li>
<li>Google Toolbar </li>
<li>Greasemonkey </li>
<li>IE Tab </li>
<li>MediaWrap </li>
<li>Stylish </li>
<li>Super DragAndGo </li>
<li>Tab Mix Plus</li>
<li>UI Tweaker</li>
<li>wmlbrowser </li>
</ol>
]]></content:encoded>
			<wfw:commentRss>http://www.autoeverything.com.cn/2008/04/15/%e6%88%91%e6%89%80%e4%bd%bf%e7%94%a8%e7%9a%84firefox%e6%89%a9%e5%b1%95/feed/</wfw:commentRss>
		</item>
		<item>
		<title>30个很有趣的网站</title>
		<link>http://www.autoeverything.com.cn/2008/04/15/30%e4%b8%aa%e5%be%88%e6%9c%89%e8%b6%a3%e7%9a%84%e7%bd%91%e7%ab%99/</link>
		<comments>http://www.autoeverything.com.cn/2008/04/15/30%e4%b8%aa%e5%be%88%e6%9c%89%e8%b6%a3%e7%9a%84%e7%bd%91%e7%ab%99/#comments</comments>
		<pubDate>Tue, 15 Apr 2008 01:10:47 +0000</pubDate>
		<dc:creator>YuFun</dc:creator>
		
		<category><![CDATA[有趣]]></category>

		<guid isPermaLink="false">http://www.autoeverything.com.cn/2008/04/15/30%e4%b8%aa%e5%be%88%e6%9c%89%e8%b6%a3%e7%9a%84%e7%bd%91%e7%ab%99/</guid>
		<description><![CDATA[1 http://roxik.com/pictaps/index.html    可以自己画个小人~3d效果~小人还可以跳舞~超级可爱~非常喜欢~强烈推荐!    2 http://www.imagechef.com/ic/product.jsp    可以在线制作可爱的图片~动态~bling~恩~这个站的图还... ]]></description>
			<content:encoded><![CDATA[<p>1 <a href="http://roxik.com/pictaps/index.html">http://roxik.com/pictaps/index.html</a>    <br />可以自己画个小人~3d效果~小人还可以跳舞~超级可爱~非常喜欢~强烈推荐!    <br />2 <a href="http://www.imagechef.com/ic/product.jsp">http://www.imagechef.com/ic/product.jsp</a>    <br />可以在线制作可爱的图片~动态~bling~恩~这个站的图还都是很可爱的呢~比较创意    <br />3 <a href="http://pic.sdodo.com/tool/hphoto/">http://pic.sdodo.com/tool/hphoto/</a>    <br />在线制作大头帖~图片样式很多~喜欢照大头贴的女生要看呢~    <br />4 <a href="http://www.25shots.com/v2/">http://www.25shots.com/v2/</a>    <br />这个可以连拍25张~在家就可以拍大头帖~只要有摄像头就ok    <br />5 <a href="http://atom.smasher.org/">http://atom.smasher.org/</a>    <br />制作有意思的图片~哈哈~有个可以做error吓唬下别人~    <br />6 <a href="http://www.typorganism.com/asciiomatic/">http://www.typorganism.com/asciiomatic/</a>    <br />这个特震~可以把照片转化成字符~自己看看吧~哈哈&#8220;厉害~不过对图片有要求~必须是60&#215;50的JPG图象&#8220;非常可爱&#8220;    <br />7 <a href="http://www.garfield.com/fungames/comiccreator.html">http://www.garfield.com/fungames/comiccreator.html</a>    <br />制作关于你的加菲猫三格漫画~可爱~    <br />8 <a href="http://www.zhaoip.com/pick/sitetu/a222.swf">http://www.zhaoip.com/pick/sitetu/a222.swf</a>    <br />做一个自己的漫画形象~特别有意思~我巨喜欢~    <br />9 <a href="http://flashface.ctapt.de/">http://flashface.ctapt.de/</a>    <br />画个肖像吧~哈哈`其实不用画~只要随便选选就出来一副震撼的素描了~    <br />10 <a href="http://snowflakes.lookandfeel.com/">http://snowflakes.lookandfeel.com/</a>    <br />在线剪纸~可以做雪花~很可爱的呢~    <br />11 <a href="http://www.timenetsule.com/zh/index.php">http://www.timenetsule.com/zh/index.php</a>    <br />时空胶囊~可以永远保存你的想法和感觉~    <br />12 <a href="http://www.megamonalisa.com/">http://www.megamonalisa.com/</a>    <br />被恶搞的蒙娜丽莎小姐好可怜~    <br />13 <a href="http://www.shakeskin.com/Shakeskin/Gallery/Shaken/">http://www.shakeskin.com/Shakeskin/Gallery/Shaken/</a>    <br />展示自己的鬼脸~哈哈`~好逗~~    <br />14 <a href="http://www.solidworkspilot.com/">http://www.solidworkspilot.com/</a>    <br />在线做一个纸飞机~比较有技术含量~我最多飞过20米~HOHO`    <br />15 <a href="http://www.whereihadmyfirstkiss.com/">http://www.whereihadmyfirstkiss.com/</a>    <br />你的初吻在哪里?哈哈~写在这个地图上吧~还可以看看别人的故事!    <br />16 <a href="http://udiab.com.cn/gxbd/">http://udiab.com.cn/gxbd/</a>    <br />写上自己的名字~就可以拥有一个自己的百度~非常好~    <br />17 <a href="http://cubii.toyak.com/">http://cubii.toyak.com/</a>    <br />在线搭积木~无聊的时候可以玩下    <br />18 <a href="http://artpad.art.com/artpad/painter/">http://artpad.art.com/artpad/painter/</a>    <br />在线画油画~很象的说!恩`还可以选画框     <br />19 <a href="http://www.baigoogledu.com/">http://www.baigoogledu.com/</a>    <br />这个超强悍的~百度google~一起用~厉害~    <br />20 <a href="http://www.latteart.nl/fotos_etching.asp">http://www.latteart.nl/fotos_etching.asp</a>    <br />world of latte 咖啡的艺术    <br />21 <a href="http://color.slightlyblue.com/">http://color.slightlyblue.com/</a>    <br />用颜色搜索图片!和flickr好像差不多~    <br />22 <a href="http://www.touregypt.net/ename/">http://www.touregypt.net/ename/</a>    <br />看看你的埃及名字~哈哈`~挺好玩的~不过不支持中文~就用拼音吧    <br />23 <a href="http://www.paulsadowski.org/BirthDay.asp">http://www.paulsadowski.org/BirthDay.asp</a>    <br />计算你的生日~好多信息!很有意思!看不懂可以在线翻译下~    <br />24 <a href="http://www.kenbrashear.com/">http://www.kenbrashear.com/</a>    <br />在线架子鼓~来玩会    <br />25 <a href="http://www.bloodyfingermail.com/">http://www.bloodyfingermail.com/</a>    <br />血书~吓我一跳~啊~震~很逼真    <br />26 <a href="http://www.arnelefant.de/iclip.html">http://www.arnelefant.de/iclip.html</a>    <br />设计很可爱~^_^`手脚混音!有意思~    <br />27 <a href="http://rumandmonkey.com/widgets/toys/namegen/969">http://rumandmonkey.com/widgets/toys/namegen/969</a>    <br />测试你的日本名字!哈哈`    <br />28 <a href="http://www.pentrix.com/">http://www.pentrix.com/</a>    <br />教你怎么转笔!~牛~    <br />29 <a href="http://www.iiiiiiii.com/">http://www.iiiiiiii.com/</a>    <br />iii网站`^_^&#8220;这个网站主要就只会唱自己的域名`不过还是蛮好听的    <br />30 <a href="http://www.futureme.org/">http://www.futureme.org/</a>    <br />给未来的自己写封信~恩`还是很有意义的~</p>
<p>此篇文章原创自：<a href="http://www.x-beta.cn/internet/30-lovely-mm-website.html">30个适合女生玩的可爱网站推荐给各位GGMM</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.autoeverything.com.cn/2008/04/15/30%e4%b8%aa%e5%be%88%e6%9c%89%e8%b6%a3%e7%9a%84%e7%bd%91%e7%ab%99/feed/</wfw:commentRss>
		</item>
		<item>
		<title>你是否知道-怎么从命令行编译(build)一个解决方案(Solution)</title>
		<link>http://www.autoeverything.com.cn/2008/04/14/%e4%bd%a0%e6%98%af%e5%90%a6%e7%9f%a5%e9%81%93-%e6%80%8e%e4%b9%88%e4%bb%8e%e5%91%bd%e4%bb%a4%e8%a1%8c%e7%bc%96%e8%af%91build%e4%b8%80%e4%b8%aa%e8%a7%a3%e5%86%b3%e6%96%b9%e6%a1%88solution/</link>
		<comments>http://www.autoeverything.com.cn/2008/04/14/%e4%bd%a0%e6%98%af%e5%90%a6%e7%9f%a5%e9%81%93-%e6%80%8e%e4%b9%88%e4%bb%8e%e5%91%bd%e4%bb%a4%e8%a1%8c%e7%bc%96%e8%af%91build%e4%b8%80%e4%b8%aa%e8%a7%a3%e5%86%b3%e6%96%b9%e6%a1%88solution/#comments</comments>
		<pubDate>Mon, 14 Apr 2008 02:58:50 +0000</pubDate>
		<dc:creator>YuFun</dc:creator>
		
		<category><![CDATA[VS2005]]></category>

		<category><![CDATA[技巧]]></category>

		<guid isPermaLink="false">http://www.autoeverything.com.cn/2008/04/14/%e4%bd%a0%e6%98%af%e5%90%a6%e7%9f%a5%e9%81%93-%e6%80%8e%e4%b9%88%e4%bb%8e%e5%91%bd%e4%bb%a4%e8%a1%8c%e7%bc%96%e8%af%91build%e4%b8%80%e4%b8%aa%e8%a7%a3%e5%86%b3%e6%96%b9%e6%a1%88solution/</guid>
		<description><![CDATA[转载自：Did you know&#8230; How to build a solution from the command line
建议使用Visual Studio 2005 Command Prompt来运行所有的命令   你可以从开始菜单-&#62; 所有程序 &#8211;&#62; Microsoft Visual Studio 2005 &#8211;&#62; Visua... ]]></description>
			<content:encoded><![CDATA[<p>转载自：<a href="http://blogs.msdn.com/saraford/archive/2005/08/11/450617.aspx" target="_blank">Did you know&#8230; How to build a solution from the command line</a></p>
<p>建议使用Visual Studio 2005 Command Prompt来运行所有的命令   <br />你可以从开始菜单-&gt; 所有程序 &#8211;&gt; Microsoft Visual Studio 2005 &#8211;&gt; Visual Studio Tools来运行Visual Studio 2005 Command Prompt，这样你就不需要担心怎么设置正确的环境变量，比如PATH</p>
<p>试试输入<strong>Devenv /?     <br /></strong><font color="#000000">从命令行的输出，你可以看到这个命令的帮助，你需要用这些来进行编译</font></p>
<p><font color="#000000">在命令行的帮助，你可以看到这个示例：     <br /><strong>devenv solutionfile.sln /build solutionconfig [ /project projectnameorfile [ /projectconfig name ] ]</strong></font></p>
<p>上边的命令可以简化为：   <br /><strong>devenv &lt;solutionname&gt; /build</strong></p>
<p>你同样可以制定解决方案（Solution）的配置和工程配置。你可以使用Build-&gt;Configuration Manager来创建一个新的工程和解决方案的配置来进行编译。例如：   <br /><strong>devenv &lt;solutionname&gt; /build &quot;Debug|Any CPU&quot; /project &lt;projectname&gt; /projectconfig &#8220;Debug|Any CPU&#8221;</strong></p>
<p>最后一点，你可以指定将编译的日志写在什么地方：   <br /><strong>devenv &lt;solutionname&gt; /build &quot;Debug|Any CPU&quot; /project &lt;projectname&gt; /projectconfig &#8220;Debug:Any CPU&#8221; /out &lt;filename&gt;</strong></p>
]]></content:encoded>
			<wfw:commentRss>http://www.autoeverything.com.cn/2008/04/14/%e4%bd%a0%e6%98%af%e5%90%a6%e7%9f%a5%e9%81%93-%e6%80%8e%e4%b9%88%e4%bb%8e%e5%91%bd%e4%bb%a4%e8%a1%8c%e7%bc%96%e8%af%91build%e4%b8%80%e4%b8%aa%e8%a7%a3%e5%86%b3%e6%96%b9%e6%a1%88solution/feed/</wfw:commentRss>
		</item>
		<item>
		<title>你是否知道-你可以调整&#8216;自动完成&#8217;(Statement Completion)窗口的大小</title>
		<link>http://www.autoeverything.com.cn/2008/04/14/%e4%bd%a0%e6%98%af%e5%90%a6%e7%9f%a5%e9%81%93-%e4%bd%a0%e5%8f%af%e4%bb%a5%e8%b0%83%e6%95%b4%e8%87%aa%e5%8a%a8%e5%ae%8c%e6%88%90statement-completion%e7%aa%97%e5%8f%a3%e7%9a%84%e5%a4%a7/</link>
		<comments>http://www.autoeverything.com.cn/2008/04/14/%e4%bd%a0%e6%98%af%e5%90%a6%e7%9f%a5%e9%81%93-%e4%bd%a0%e5%8f%af%e4%bb%a5%e8%b0%83%e6%95%b4%e8%87%aa%e5%8a%a8%e5%ae%8c%e6%88%90statement-completion%e7%aa%97%e5%8f%a3%e7%9a%84%e5%a4%a7/#comments</comments>
		<pubDate>Mon, 14 Apr 2008 02:45:50 +0000</pubDate>
		<dc:creator>YuFun</dc:creator>
		
		<category><![CDATA[VS2005]]></category>

		<category><![CDATA[技巧]]></category>

		<guid isPermaLink="false">http://www.autoeverything.com.cn/2008/04/14/%e4%bd%a0%e6%98%af%e5%90%a6%e7%9f%a5%e9%81%93-%e4%bd%a0%e5%8f%af%e4%bb%a5%e8%b0%83%e6%95%b4%e8%87%aa%e5%8a%a8%e5%ae%8c%e6%88%90statement-completion%e7%aa%97%e5%8f%a3%e7%9a%84%e5%a4%a7/</guid>
		<description><![CDATA[转载自：Did you know&#8230; you can resize the statement completion window? - #059
是的，你可以往任意方向调整&#8216;自动完成&#8217;窗口的大小：



注：

最大高度：1/3屏幕高度 
... ]]></description>
			<content:encoded><![CDATA[<p><a title="resizedStatementCompletion_thumb.jpg" href="http://lh4.ggpht.com/heyt1981/SALEOEMhYDI/AAAAAAAADks/hvUXZQXYl0Y/resizedStatementCompletion_thumb.jpg?imgmax=800" rel="lightbox[post47]"></a>转载自：<a href="http://blogs.msdn.com/saraford/archive/2007/10/11/did-you-know-you-can-resize-the-statement-completion-window.aspx" target="_blank">Did you know&#8230; you can resize the statement completion window? - #059</a></p>
<p>是的，你可以往任意方向调整&#8216;自动完成&#8217;窗口的大小：</p>
<div class="wlWriterSmartContent" id="scid:51CF81A4-8F44-4a2c-8837-198C090B9994:179de8e8-415a-4715-bacc-c0ee51c0de2f" style="padding-right: 0px; display: inline; padding-left: 0px; float: none; padding-bottom: 0px; margin: 0px; padding-top: 0px">
<p><img style="border-right: 2px; border-top: 2px; border-left: 2px; border-bottom: 2px" height="97" src="http://lh4.ggpht.com/heyt1981/SALEOEMhYDI/AAAAAAAADks/hvUXZQXYl0Y/s800/resizedStatementCompletion_thumb.jpg" width="512"></p>
</div>
<p>注：</p>
<ul>
<li>最大高度：1/3屏幕高度 </li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://www.autoeverything.com.cn/2008/04/14/%e4%bd%a0%e6%98%af%e5%90%a6%e7%9f%a5%e9%81%93-%e4%bd%a0%e5%8f%af%e4%bb%a5%e8%b0%83%e6%95%b4%e8%87%aa%e5%8a%a8%e5%ae%8c%e6%88%90statement-completion%e7%aa%97%e5%8f%a3%e7%9a%84%e5%a4%a7/feed/</wfw:commentRss>
		</item>
		<item>
		<title>你是否知道-VisualStudio中怎么使用工程模板</title>
		<link>http://www.autoeverything.com.cn/2008/04/14/%e4%bd%a0%e6%98%af%e5%90%a6%e7%9f%a5%e9%81%93-visualstudio%e4%b8%ad%e6%80%8e%e4%b9%88%e4%bd%bf%e7%94%a8%e5%b7%a5%e7%a8%8b%e6%a8%a1%e6%9d%bf/</link>
		<comments>http://www.autoeverything.com.cn/2008/04/14/%e4%bd%a0%e6%98%af%e5%90%a6%e7%9f%a5%e9%81%93-visualstudio%e4%b8%ad%e6%80%8e%e4%b9%88%e4%bd%bf%e7%94%a8%e5%b7%a5%e7%a8%8b%e6%a8%a1%e6%9d%bf/#comments</comments>
		<pubDate>Mon, 14 Apr 2008 02:30:19 +0000</pubDate>
		<dc:creator>YuFun</dc:creator>
		
		<category><![CDATA[VS2005]]></category>

		<category><![CDATA[技巧]]></category>

		<guid isPermaLink="false">http://www.autoeverything.com.cn/2008/04/14/%e4%bd%a0%e6%98%af%e5%90%a6%e7%9f%a5%e9%81%93-visualstudio%e4%b8%ad%e6%80%8e%e4%b9%88%e4%bd%bf%e7%94%a8%e5%b7%a5%e7%a8%8b%e6%a8%a1%e6%9d%bf/</guid>
		<description><![CDATA[转载自：Did you know&#8230; How to use Project Templates
什么是工程模板（Project Templates）？
工程模板就是一个简单的工程，你可以使用它创建一个新的工程，比如：Windows Applications, Class Libraries, WebSites... ]]></description>
			<content:encoded><![CDATA[<p>转载自：<a href="http://blogs.msdn.com/saraford/archive/2005/08/17/452889.aspx" target="_blank">Did you know&#8230; How to use Project Templates</a></p>
<p><strong>什么是工程模板（Project Templates）？</strong></p>
<p>工程模板就是一个简单的工程，你可以使用它创建一个新的工程，比如：Windows Applications, Class Libraries, WebSites等等。对Visual Studio2005 （开发代号Whidbey）中，模板作为一个单独Zip文件存储在硬盘上。Visual Studio会默认安装一些模板在：&lt;Program Files&gt;\Microsoft Visual Studio 8\Common7\IDE\ProjectTemplates 和 &lt;Program Files&gt;\Microsoft Visual Studio 8\Common7\IDE\ItemTemplates</p>
<p>对于用户（任何人）创建的模板，存储在My Documents\Visual Studio 2005\Templates. 如果你想添加一个用户创建的模板到VS的模板列表，你需要做：    <br />1. 拷贝模板（一个模板的Zip文件）到默认的位置（针对不同VS语言版本可能不太一样）     <br />2. 在命令行（VS的命令行）运行devenv /installvstemplates     <br />&#160;&#160;&#160; 注：貌似拷贝到My Documents\Visual Studio 2005\Templates就可以用了</p>
<p>Visual Studio2005也支持内含多个工程的模板，你可以到Craig&#8217;s的博客来详细了解：    <br /><a href="http://blogs.msdn.com/craigskibo/archive/2004/10/08/240134.aspx">http://blogs.msdn.com/craigskibo/archive/2004/10/08/240134.aspx</a></p>
<p><strong>怎么创建用户模板？</strong></p>
<p>一个最简单的方式就是使用&#8216;导出模板向导&#8217;。首先，创建一个Class Library工程，然后给工程添加一个图标（这一步其实你可以做任何事情，你对工程做的任何改变都会保存在模板中）。然后点击菜单&#8216;文件-&gt;到处模板。向导首先会问你是否要创建一个工程模板还是Item模板。它还会询问你希望基于那个工程来创建这个模板。下一个页面我们可以自定义我们的工程模板，我们可以修改工程模板的名称和描述，还有一个选项问你是否立即导入模板到Visual Studio中（其实也就是自动拷贝模板文件到My Documents\Visual Studio 2005\My Exported Templates to My Documents\Visual Studio 2005\Templates\Project Templates），设置好其它选项，按完成按钮，工程模板就创建好了。</p>
<p>.vstemplate文件中有什么？</p>
<p>注：当我们解压工程模板的zip包后，可以看到整个工程的所有文件，区别于正常的工程，这里多了一个.vstemplate文件，</p>
<p>下边我们来看一下这个文件是做什么用的    <br />这个.vstemplate是特定于你这个工程模板的xml文件，它包含了比如模板的名称、描述等，第二部分包含了一些引用了什么文件的信息。     <br />下边是一个典型的.vstemplate文件（我自己创建的，工程名字是AUTDefinition）：     </p>
<div style="border-right: gray 1px solid; padding-right: 4px; border-top: gray 1px solid; padding-left: 4px; font-size: 8pt; padding-bottom: 4px; margin: 20px 0px 10px; overflow: auto; border-left: gray 1px solid; width: 97.5%; cursor: text; max-height: 400px; line-height: 12pt; padding-top: 4px; border-bottom: gray 1px solid; font-family: consolas, &#39;Courier New&#39;, courier, monospace; background-color: #f4f4f4">
<div style="padding-right: 0px; padding-left: 0px; font-size: 8pt; padding-bottom: 0px; overflow: visible; width: 100%; color: black; border-top-style: none; line-height: 12pt; padding-top: 0px; font-family: consolas, &#39;Courier New&#39;, courier, monospace; border-right-style: none; border-left-style: none; background-color: #f4f4f4; border-bottom-style: none">
<pre style="padding-right: 0px; padding-left: 0px; font-size: 8pt; padding-bottom: 0px; margin: 0em; overflow: visible; width: 100%; color: black; border-top-style: none; line-height: 12pt; padding-top: 0px; font-family: consolas, &#39;Courier New&#39;, courier, monospace; border-right-style: none; border-left-style: none; background-color: white; border-bottom-style: none"><span style="color: #606060">   1:</span> <span style="color: #0000ff">&lt;</span><span style="color: #800000">VSTemplate</span> <span style="color: #ff0000">Version</span><span style="color: #0000ff">=&quot;2.0.0&quot;</span> <span style="color: #ff0000">xmlns</span><span style="color: #0000ff">=&quot;http://schemas.microsoft.com/developer/vstemplate/2005&quot;</span> <span style="color: #ff0000">Type</span><span style="color: #0000ff">=&quot;Project&quot;</span><span style="color: #0000ff">&gt;</span></pre>
<pre style="padding-right: 0px; padding-left: 0px; font-size: 8pt; padding-bottom: 0px; margin: 0em; overflow: visible; width: 100%; color: black; border-top-style: none; line-height: 12pt; padding-top: 0px; font-family: consolas, &#39;Courier New&#39;, courier, monospace; border-right-style: none; border-left-style: none; background-color: #f4f4f4; border-bottom-style: none"><span style="color: #606060">   2:</span>   <span style="color: #0000ff">&lt;</span><span style="color: #800000">TemplateData</span><span style="color: #0000ff">&gt;</span></pre>
<pre style="padding-right: 0px; padding-left: 0px; font-size: 8pt; padding-bottom: 0px; margin: 0em; overflow: visible; width: 100%; color: black; border-top-style: none; line-height: 12pt; padding-top: 0px; font-family: consolas, &#39;Courier New&#39;, courier, monospace; border-right-style: none; border-left-style: none; background-color: white; border-bottom-style: none"><span style="color: #606060">   3:</span>     <span style="color: #0000ff">&lt;</span><span style="color: #800000">Name</span><span style="color: #0000ff">&gt;</span>AUTDefinition<span style="color: #0000ff">&lt;/</span><span style="color: #800000">Name</span><span style="color: #0000ff">&gt;</span></pre>
<pre style="padding-right: 0px; padding-left: 0px; font-size: 8pt; padding-bottom: 0px; margin: 0em; overflow: visible; width: 100%; color: black; border-top-style: none; line-height: 12pt; padding-top: 0px; font-family: consolas, &#39;Courier New&#39;, courier, monospace; border-right-style: none; border-left-style: none; background-color: #f4f4f4; border-bottom-style: none"><span style="color: #606060">   4:</span>     <span style="color: #0000ff">&lt;</span><span style="color: #800000">Description</span><span style="color: #0000ff">&gt;</span>Create the AUT definitioin class library<span style="color: #0000ff">&lt;/</span><span style="color: #800000">Description</span><span style="color: #0000ff">&gt;</span></pre>
<pre style="padding-right: 0px; padding-left: 0px; font-size: 8pt; padding-bottom: 0px; margin: 0em; overflow: visible; width: 100%; color: black; border-top-style: none; line-height: 12pt; padding-top: 0px; font-family: consolas, &#39;Courier New&#39;, courier, monospace; border-right-style: none; border-left-style: none; background-color: white; border-bottom-style: none"><span style="color: #606060">   5:</span>     <span style="color: #0000ff">&lt;</span><span style="color: #800000">ProjectType</span><span style="color: #0000ff">&gt;</span>CSharp<span style="color: #0000ff">&lt;/</span><span style="color: #800000">ProjectType</span><span style="color: #0000ff">&gt;</span></pre>
<pre style="padding-right: 0px; padding-left: 0px; font-size: 8pt; padding-bottom: 0px; margin: 0em; overflow: visible; width: 100%; color: black; border-top-style: none; line-height: 12pt; padding-top: 0px; font-family: consolas, &#39;Courier New&#39;, courier, monospace; border-right-style: none; border-left-style: none; background-color: #f4f4f4; border-bottom-style: none"><span style="color: #606060">   6:</span>     <span style="color: #0000ff">&lt;</span><span style="color: #800000">ProjectSubType</span><span style="color: #0000ff">&gt;</span></pre>
<pre style="padding-right: 0px; padding-left: 0px; font-size: 8pt; padding-bottom: 0px; margin: 0em; overflow: visible; width: 100%; color: black; border-top-style: none; line-height: 12pt; padding-top: 0px; font-family: consolas, &#39;Courier New&#39;, courier, monospace; border-right-style: none; border-left-style: none; background-color: white; border-bottom-style: none"><span style="color: #606060">   7:</span>     <span style="color: #0000ff">&lt;/</span><span style="color: #800000">ProjectSubType</span><span style="color: #0000ff">&gt;</span></pre>
<pre style="padding-right: 0px; padding-left: 0px; font-size: 8pt; padding-bottom: 0px; margin: 0em; overflow: visible; width: 100%; color: black; border-top-style: none; line-height: 12pt; padding-top: 0px; font-family: consolas, &#39;Courier New&#39;, courier, monospace; border-right-style: none; border-left-style: none; background-color: #f4f4f4; border-bottom-style: none"><span style="color: #606060">   8:</span>     <span style="color: #0000ff">&lt;</span><span style="color: #800000">SortOrder</span><span style="color: #0000ff">&gt;</span>1000<span style="color: #0000ff">&lt;/</span><span style="color: #800000">SortOrder</span><span style="color: #0000ff">&gt;</span></pre>
<pre style="padding-right: 0px; padding-left: 0px; font-size: 8pt; padding-bottom: 0px; margin: 0em; overflow: visible; width: 100%; color: black; border-top-style: none; line-height: 12pt; padding-top: 0px; font-family: consolas, &#39;Courier New&#39;, courier, monospace; border-right-style: none; border-left-style: none; background-color: white; border-bottom-style: none"><span style="color: #606060">   9:</span>     <span style="color: #0000ff">&lt;</span><span style="color: #800000">CreateNewFolder</span><span style="color: #0000ff">&gt;</span>true<span style="color: #0000ff">&lt;/</span><span style="color: #800000">CreateNewFolder</span><span style="color: #0000ff">&gt;</span></pre>
<pre style="padding-right: 0px; padding-left: 0px; font-size: 8pt; padding-bottom: 0px; margin: 0em; overflow: visible; width: 100%; color: black; border-top-style: none; line-height: 12pt; padding-top: 0px; font-family: consolas, &#39;Courier New&#39;, courier, monospace; border-right-style: none; border-left-style: none; background-color: #f4f4f4; border-bottom-style: none"><span style="color: #606060">  10:</span>     <span style="color: #0000ff">&lt;</span><span style="color: #800000">DefaultName</span><span style="color: #0000ff">&gt;</span>AUTDefinition<span style="color: #0000ff">&lt;/</span><span style="color: #800000">DefaultName</span><span style="color: #0000ff">&gt;</span></pre>
<pre style="padding-right: 0px; padding-left: 0px; font-size: 8pt; padding-bottom: 0px; margin: 0em; overflow: visible; width: 100%; color: black; border-top-style: none; line-height: 12pt; padding-top: 0px; font-family: consolas, &#39;Courier New&#39;, courier, monospace; border-right-style: none; border-left-style: none; background-color: white; border-bottom-style: none"><span style="color: #606060">  11:</span>     <span style="color: #0000ff">&lt;</span><span style="color: #800000">ProvideDefaultName</span><span style="color: #0000ff">&gt;</span>true<span style="color: #0000ff">&lt;/</span><span style="color: #800000">ProvideDefaultName</span><span style="color: #0000ff">&gt;</span></pre>
<pre style="padding-right: 0px; padding-left: 0px; font-size: 8pt; padding-bottom: 0px; margin: 0em; overflow: visible; width: 100%; color: black; border-top-style: none; line-height: 12pt; padding-top: 0px; font-family: consolas, &#39;Courier New&#39;, courier, monospace; border-right-style: none; border-left-style: none; background-color: #f4f4f4; border-bottom-style: none"><span style="color: #606060">  12:</span>     <span style="color: #0000ff">&lt;</span><span style="color: #800000">LocationField</span><span style="color: #0000ff">&gt;</span>Enabled<span style="color: #0000ff">&lt;/</span><span style="color: #800000">LocationField</span><span style="color: #0000ff">&gt;</span></pre>
<pre style="padding-right: 0px; padding-left: 0px; font-size: 8pt; padding-bottom: 0px; margin: 0em; overflow: visible; width: 100%; color: black; border-top-style: none; line-height: 12pt; padding-top: 0px; font-family: consolas, &#39;Courier New&#39;, courier, monospace; border-right-style: none; border-left-style: none; background-color: white; border-bottom-style: none"><span style="color: #606060">  13:</span>     <span style="color: #0000ff">&lt;</span><span style="color: #800000">EnableLocationBrowseButton</span><span style="color: #0000ff">&gt;</span>true<span style="color: #0000ff">&lt;/</span><span style="color: #800000">EnableLocationBrowseButton</span><span style="color: #0000ff">&gt;</span></pre>
<pre style="padding-right: 0px; padding-left: 0px; font-size: 8pt; padding-bottom: 0px; margin: 0em; overflow: visible; width: 100%; color: black; border-top-style: none; line-height: 12pt; padding-top: 0px; font-family: consolas, &#39;Courier New&#39;, courier, monospace; border-right-style: none; border-left-style: none; background-color: #f4f4f4; border-bottom-style: none"><span style="color: #606060">  14:</span>     <span style="color: #0000ff">&lt;</span><span style="color: #800000">Icon</span><span style="color: #0000ff">&gt;</span>__TemplateIcon.ico<span style="color: #0000ff">&lt;/</span><span style="color: #800000">Icon</span><span style="color: #0000ff">&gt;</span></pre>
<pre style="padding-right: 0px; padding-left: 0px; font-size: 8pt; padding-bottom: 0px; margin: 0em; overflow: visible; width: 100%; color: black; border-top-style: none; line-height: 12pt; padding-top: 0px; font-family: consolas, &#39;Courier New&#39;, courier, monospace; border-right-style: none; border-left-style: none; background-color: white; border-bottom-style: none"><span style="color: #606060">  15:</span>   <span style="color: #0000ff">&lt;/</span><span style="color: #800000">TemplateData</span><span style="color: #0000ff">&gt;</span></pre>
<pre style="padding-right: 0px; padding-left: 0px; font-size: 8pt; padding-bottom: 0px; margin: 0em; overflow: visible; width: 100%; color: black; border-top-style: none; line-height: 12pt; padding-top: 0px; font-family: consolas, &#39;Courier New&#39;, courier, monospace; border-right-style: none; border-left-style: none; background-color: #f4f4f4; border-bottom-style: none"><span style="color: #606060">  16:</span>   <span style="color: #0000ff">&lt;</span><span style="color: #800000">TemplateContent</span><span style="color: #0000ff">&gt;</span></pre>
<pre style="padding-right: 0px; padding-left: 0px; font-size: 8pt; padding-bottom: 0px; margin: 0em; overflow: visible; width: 100%; color: black; border-top-style: none; line-height: 12pt; padding-top: 0px; font-family: consolas, &#39;Courier New&#39;, courier, monospace; border-right-style: none; border-left-style: none; background-color: white; border-bottom-style: none"><span style="color: #606060">  17:</span>     <span style="color: #0000ff">&lt;</span><span style="color: #800000">Project</span> <span style="color: #ff0000">TargetFileName</span><span style="color: #0000ff">=&quot;UICalculator.csproj&quot;</span> <span style="color: #ff0000">File</span><span style="color: #0000ff">=&quot;UICalculator.csproj&quot;</span> <span style="color: #ff0000">ReplaceParameters</span><span style="color: #0000ff">=&quot;true&quot;</span><span style="color: #0000ff">&gt;</span></pre>
<pre style="padding-right: 0px; padding-left: 0px; font-size: 8pt; padding-bottom: 0px; margin: 0em; overflow: visible; width: 100%; color: black; border-top-style: none; line-height: 12pt; padding-top: 0px; font-family: consolas, &#39;Courier New&#39;, courier, monospace; border-right-style: none; border-left-style: none; background-color: #f4f4f4; border-bottom-style: none"><span style="color: #606060">  18:</span>       <span style="color: #0000ff">&lt;</span><span style="color: #800000">ProjectItem</span> <span style="color: #ff0000">ReplaceParameters</span><span style="color: #0000ff">=&quot;true&quot;</span> <span style="color: #ff0000">TargetFileName</span><span style="color: #0000ff">=&quot;AUT.cs&quot;</span><span style="color: #0000ff">&gt;</span>AUT.cs<span style="color: #0000ff">&lt;/</span><span style="color: #800000">ProjectItem</span><span style="color: #0000ff">&gt;</span></pre>
<pre style="padding-right: 0px; padding-left: 0px; font-size: 8pt; padding-bottom: 0px; margin: 0em; overflow: visible; width: 100%; color: black; border-top-style: none; line-height: 12pt; padding-top: 0px; font-family: consolas, &#39;Courier New&#39;, courier, monospace; border-right-style: none; border-left-style: none; background-color: white; border-bottom-style: none"><span style="color: #606060">  19:</span>       <span style="color: #0000ff">&lt;</span><span style="color: #800000">Folder</span> <span style="color: #ff0000">Name</span><span style="color: #0000ff">=&quot;Properties&quot;</span> <span style="color: #ff0000">TargetFolderName</span><span style="color: #0000ff">=&quot;Properties&quot;</span><span style="color: #0000ff">&gt;</span></pre>
<pre style="padding-right: 0px; padding-left: 0px; font-size: 8pt; padding-bottom: 0px; margin: 0em; overflow: visible; width: 100%; color: black; border-top-style: none; line-height: 12pt; padding-top: 0px; font-family: consolas, &#39;Courier New&#39;, courier, monospace; border-right-style: none; border-left-style: none; background-color: #f4f4f4; border-bottom-style: none"><span style="color: #606060">  20:</span>         <span style="color: #0000ff">&lt;</span><span style="color: #800000">ProjectItem</span> <span style="color: #ff0000">ReplaceParameters</span><span style="color: #0000ff">=&quot;true&quot;</span> <span style="color: #ff0000">TargetFileName</span><span style="color: #0000ff">=&quot;AssemblyInfo.cs&quot;</span><span style="color: #0000ff">&gt;</span>AssemblyInfo.cs<span style="color: #0000ff">&lt;/</span><span style="color: #800000">ProjectItem</span><span style="color: #0000ff">&gt;</span></pre>
<pre style="padding-right: 0px; padding-left: 0px; font-size: 8pt; padding-bottom: 0px; margin: 0em; overflow: visible; width: 100%; color: black; border-top-style: none; line-height: 12pt; padding-top: 0px; font-family: consolas, &#39;Courier New&#39;, courier, monospace; border-right-style: none; border-left-style: none; background-color: white; border-bottom-style: none"><span style="color: #606060">  21:</span>       <span style="color: #0000ff">&lt;/</span><span style="color: #800000">Folder</span><span style="color: #0000ff">&gt;</span></pre>
<pre style="padding-right: 0px; padding-left: 0px; font-size: 8pt; padding-bottom: 0px; margin: 0em; overflow: visible; width: 100%; color: black; border-top-style: none; line-height: 12pt; padding-top: 0px; font-family: consolas, &#39;Courier New&#39;, courier, monospace; border-right-style: none; border-left-style: none; background-color: #f4f4f4; border-bottom-style: none"><span style="color: #606060">  22:</span>     <span style="color: #0000ff">&lt;/</span><span style="color: #800000">Project</span><span style="color: #0000ff">&gt;</span></pre>
<pre style="padding-right: 0px; padding-left: 0px; font-size: 8pt; padding-bottom: 0px; margin: 0em; overflow: visible; width: 100%; color: black; border-top-style: none; line-height: 12pt; padding-top: 0px; font-family: consolas, &#39;Courier New&#39;, courier, monospace; border-right-style: none; border-left-style: none; background-color: white; border-bottom-style: none"><span style="color: #606060">  23:</span>   <span style="color: #0000ff">&lt;/</span><span style="color: #800000">TemplateContent</span><span style="color: #0000ff">&gt;</span></pre>
<pre style="padding-right: 0px; padding-left: 0px; font-size: 8pt; padding-bottom: 0px; margin: 0em; overflow: visible; width: 100%; color: black; border-top-style: none; line-height: 12pt; padding-top: 0px; font-family: consolas, &#39;Courier New&#39;, courier, monospace; border-right-style: none; border-left-style: none; background-color: #f4f4f4; border-bottom-style: none"><span style="color: #606060">  24:</span> <span style="color: #0000ff">&lt;/</span><span style="color: #800000">VSTemplate</span><span style="color: #0000ff">&gt;</span></pre>
</p></div>
</div>
]]></content:encoded>
			<wfw:commentRss>http://www.autoeverything.com.cn/2008/04/14/%e4%bd%a0%e6%98%af%e5%90%a6%e7%9f%a5%e9%81%93-visualstudio%e4%b8%ad%e6%80%8e%e4%b9%88%e4%bd%bf%e7%94%a8%e5%b7%a5%e7%a8%8b%e6%a8%a1%e6%9d%bf/feed/</wfw:commentRss>
		</item>
		<item>
		<title>在C#中如何模式鼠标键盘操作</title>
		<link>http://www.autoeverything.com.cn/2008/04/11/%e5%9c%a8c%e4%b8%ad%e5%a6%82%e4%bd%95%e6%a8%a1%e5%bc%8f%e9%bc%a0%e6%a0%87%e9%94%ae%e7%9b%98%e6%93%8d%e4%bd%9c/</link>
		<comments>http://www.autoeverything.com.cn/2008/04/11/%e5%9c%a8c%e4%b8%ad%e5%a6%82%e4%bd%95%e6%a8%a1%e5%bc%8f%e9%bc%a0%e6%a0%87%e9%94%ae%e7%9b%98%e6%93%8d%e4%bd%9c/#comments</comments>
		<pubDate>Fri, 11 Apr 2008 10:54:26 +0000</pubDate>
		<dc:creator>YuFun</dc:creator>
		
		<category><![CDATA[C#]]></category>

		<category><![CDATA[自动化测试]]></category>

		<guid isPermaLink="false">http://www.autoeverything.com.cn/2008/04/11/%e5%9c%a8c%e4%b8%ad%e5%a6%82%e4%bd%95%e6%a8%a1%e5%bc%8f%e9%bc%a0%e6%a0%87%e9%94%ae%e7%9b%98%e6%93%8d%e4%bd%9c/</guid>
		<description><![CDATA[上一篇讲了在自动化测试中如果控件不能识别，我们最后的办法是模拟鼠标键盘，这一篇就讲如何来做。
首先我先讲在C#中怎么做，至于在C++或者脚本中怎么做，留在后边来讲
对C#来说，键盘... ]]></description>
			<content:encoded><![CDATA[<p>上一篇讲了在自动化测试中如果控件不能识别，我们最后的办法是模拟鼠标键盘，这一篇就讲如何来做。</p>
<p>首先我先讲在C#中怎么做，至于在C++或者脚本中怎么做，留在后边来讲</p>
<p>对C#来说，键盘的模拟比较简单，在.Net Framework中<a target="_blank" href="http://msdn2.microsoft.com/en-us/library/system.windows.forms.sendkeys.aspx">System.Windows.Forms.SendKeys</a>这个类</p>
<p>鼠标呢，看下边代码：<font size="2" color="#000000" face="Consolas"><br />
</font></p>
<pre style="font-size: 8pt; margin: 0em; overflow: visible; width: 100%; color: black; line-height: 12pt; font-family: consolas, 'Courier New', courier, monospace; background-color: white; border-style: none; padding: 0px"><span style="color: #606060">   1:</span> [DllImport(<span style="color: #006080">&#8220;user32&#8243;</span>)]</pre>
<pre style="font-size: 8pt; margin: 0em; overflow: visible; width: 100%; color: black; line-height: 12pt; font-family: consolas, 'Courier New', courier, monospace; background-color: #f4f4f4; border-style: none; padding: 0px"><span style="color: #606060">   2:</span> <span style="color: #0000ff">public</span> <span style="color: #0000ff">static</span> <span style="color: #0000ff">extern</span> <span style="color: #0000ff">void</span> mouse_event(<span style="color: #0000ff">int</span> dwFlags, <span style="color: #0000ff">int</span> dx, <span style="color: #0000ff">int</span> dy, <span style="color: #0000ff">int</span> dwData, <span style="color: #0000ff">int</span> dwExtraInfo);</pre>
<pre style="font-size: 8pt; margin: 0em; overflow: visible; width: 100%; color: black; line-height: 12pt; font-family: consolas, 'Courier New', courier, monospace; background-color: white; border-style: none; padding: 0px"><span style="color: #606060">   3:</span> </pre>
<pre style="font-size: 8pt; margin: 0em; overflow: visible; width: 100%; color: black; line-height: 12pt; font-family: consolas, 'Courier New', courier, monospace; background-color: #f4f4f4; border-style: none; padding: 0px"><span style="color: #606060">   4:</span> [Flags]</pre>
<pre style="font-size: 8pt; margin: 0em; overflow: visible; width: 100%; color: black; line-height: 12pt; font-family: consolas, 'Courier New', courier, monospace; background-color: white; border-style: none; padding: 0px"><span style="color: #606060">   5:</span> <span style="color: #0000ff">public</span> <span style="color: #0000ff">enum</span> MouseEventFlags</pre>
<pre style="font-size: 8pt; margin: 0em; overflow: visible; width: 100%; color: black; line-height: 12pt; font-family: consolas, 'Courier New', courier, monospace; background-color: #f4f4f4; border-style: none; padding: 0px"><span style="color: #606060">   6:</span> {</pre>
<pre style="font-size: 8pt; margin: 0em; overflow: visible; width: 100%; color: black; line-height: 12pt; font-family: consolas, 'Courier New', courier, monospace; background-color: white; border-style: none; padding: 0px"><span style="color: #606060">   7:</span>     Move = 0&#215;0001,</pre>
<pre style="font-size: 8pt; margin: 0em; overflow: visible; width: 100%; color: black; line-height: 12pt; font-family: consolas, 'Courier New', courier, monospace; background-color: #f4f4f4; border-style: none; padding: 0px"><span style="color: #606060">   8:</span>     LeftDown = 0&#215;0002,</pre>
<pre style="font-size: 8pt; margin: 0em; overflow: visible; width: 100%; color: black; line-height: 12pt; font-family: consolas, 'Courier New', courier, monospace; background-color: white; border-style: none; padding: 0px"><span style="color: #606060">   9:</span>     LeftUp = 0&#215;0004,</pre>
<pre style="font-size: 8pt; margin: 0em; overflow: visible; width: 100%; color: black; line-height: 12pt; font-family: consolas, 'Courier New', courier, monospace; background-color: #f4f4f4; border-style: none; padding: 0px"><span style="color: #606060">  10:</span>     RightDown = 0&#215;0008,</pre>
<pre style="font-size: 8pt; margin: 0em; overflow: visible; width: 100%; color: black; line-height: 12pt; font-family: consolas, 'Courier New', courier, monospace; background-color: white; border-style: none; padding: 0px"><span style="color: #606060">  11:</span>     RightUp = 0&#215;0010,</pre>
<pre style="font-size: 8pt; margin: 0em; overflow: visible; width: 100%; color: black; line-height: 12pt; font-family: consolas, 'Courier New', courier, monospace; background-color: #f4f4f4; border-style: none; padding: 0px"><span style="color: #606060">  12:</span>     MiddleDown = 0&#215;0020,</pre>
<pre style="font-size: 8pt; margin: 0em; overflow: visible; width: 100%; color: black; line-height: 12pt; font-family: consolas, 'Courier New', courier, monospace; background-color: white; border-style: none; padding: 0px"><span style="color: #606060">  13:</span>     MiddleUp = 0&#215;0040,</pre>
<pre style="font-size: 8pt; margin: 0em; overflow: visible; width: 100%; color: black; line-height: 12pt; font-family: consolas, 'Courier New', courier, monospace; background-color: #f4f4f4; border-style: none; padding: 0px"><span style="color: #606060">  14:</span>     Wheel = 0&#215;0800,</pre>
<pre style="font-size: 8pt; margin: 0em; overflow: visible; width: 100%; color: black; line-height: 12pt; font-family: consolas, 'Courier New', courier, monospace; background-color: white; border-style: none; padding: 0px"><span style="color: #606060">  15:</span>     Absolute = 0&#215;8000</pre>
<pre style="font-size: 8pt; margin: 0em; overflow: visible; width: 100%; color: black; line-height: 12pt; font-family: consolas, 'Courier New', courier, monospace; background-color: #f4f4f4; border-style: none; padding: 0px"><span style="color: #606060">  16:</span> }</pre>
<pre style="font-size: 8pt; margin: 0em; overflow: visible; width: 100%; color: black; line-height: 12pt; font-family: consolas, 'Courier New', courier, monospace; background-color: white; border-style: none; padding: 0px"><span style="color: #606060">  17:</span> </pre>
<pre style="font-size: 8pt; margin: 0em; overflow: visible; width: 100%; color: black; line-height: 12pt; font-family: consolas, 'Courier New', courier, monospace; background-color: #f4f4f4; border-style: none; padding: 0px"><span style="color: #606060">  18:</span> <span style="color: #0000ff">void</span> PixelsToAbsCoors(<span style="color: #0000ff">double</span> x, <span style="color: #0000ff">double</span> y, <span style="color: #0000ff">ref</span> <span style="color: #0000ff">double</span> xOut, <span style="color: #0000ff">ref</span> <span style="color: #0000ff">double</span> yOut)</pre>
<pre style="font-size: 8pt; margin: 0em; overflow: visible; width: 100%; color: black; line-height: 12pt; font-family: consolas, 'Courier New', courier, monospace; background-color: white; border-style: none; padding: 0px"><span style="color: #606060">  19:</span> {</pre>
<pre style="font-size: 8pt; margin: 0em; overflow: visible; width: 100%; color: black; line-height: 12pt; font-family: consolas, 'Courier New', courier, monospace; background-color: #f4f4f4; border-style: none; padding: 0px"><span style="color: #606060">  20:</span>     <span style="color: #008000">//points are based on current screen size setting   </span></pre>
<pre style="font-size: 8pt; margin: 0em; overflow: visible; width: 100%; color: black; line-height: 12pt; font-family: consolas, 'Courier New', courier, monospace; background-color: white; border-style: none; padding: 0px"><span style="color: #606060">  21:</span>     xOut = x * 65536 / Screen.PrimaryScreen.Bounds.Width + 0.5;</pre>
<pre style="font-size: 8pt; margin: 0em; overflow: visible; width: 100%; color: black; line-height: 12pt; font-family: consolas, 'Courier New', courier, monospace; background-color: #f4f4f4; border-style: none; padding: 0px"><span style="color: #606060">  22:</span>     yOut = y * 65536 / Screen.PrimaryScreen.Bounds.Height + 0.5;</