<?xml version="1.0" encoding="UTF-8"?>
<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/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>CG的技术博客 &#187; 程序设计</title>
	<atom:link href="http://fantaci.org/archives/category/design/feed" rel="self" type="application/rss+xml" />
	<link>http://fantaci.org</link>
	<description></description>
	<lastBuildDate>Tue, 20 Jul 2010 01:53:09 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>[.Net]设置背景透明的窗体，GDI+绘制异形WINFORM</title>
		<link>http://fantaci.org/archives/658</link>
		<comments>http://fantaci.org/archives/658#comments</comments>
		<pubDate>Wed, 05 May 2010 07:47:19 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[技术分享]]></category>
		<category><![CDATA[程序设计]]></category>
		<category><![CDATA[.Net]]></category>
		<category><![CDATA[C#]]></category>
		<category><![CDATA[VB]]></category>

		<guid isPermaLink="false">http://www.fantaci.org/?p=658</guid>
		<description><![CDATA[在.Net环境下绘制矩形，椭圆形，三角形等形态的窗体是件很简单的事情，只要设置窗体的背景透明当你在窗体上绘制图形和控件时，是不会显示窗体的，这点MS的GDI+确实相比其他平台的实现方式更加方便和简单。

设置方式也很简单,首先设置FORM的BackColor为一个程序中不常用的颜色，
然后再设置FORM的TransparenceKey为这个颜色就OK了<p><a href="http://fantaci.org/archives/658">[.Net]设置背景透明的窗体，GDI+绘制异形WINFORM</a> is a post from <a href="http://fantaci.org">fantaci.org</a> and <a href="http://cg45.cn">cg45.cn</a></p>
]]></description>
			<content:encoded><![CDATA[<p>在.Net环境下绘制矩形，椭圆形，三角形等形态的窗体是件很简单的事情，只要设置窗体的背景透明当你在窗体上绘制图形和控件时，是不会显示窗体的，这点MS的GDI+确实相比其他平台的实现方式更加方便和简单。
设置方式也很简单,首先设置FORM的BackColor为一个程序中不常用的颜色，
然后再设置FORM的TransparenceKey为这个颜</p>]]></content:encoded>
			<wfw:commentRss>http://fantaci.org/archives/658/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>[源代码]使用VB.Net GDI+编程编写的3D魔方游戏程序</title>
		<link>http://fantaci.org/archives/656</link>
		<comments>http://fantaci.org/archives/656#comments</comments>
		<pubDate>Wed, 05 May 2010 07:44:03 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[技术分享]]></category>
		<category><![CDATA[源程序]]></category>
		<category><![CDATA[程序设计]]></category>
		<category><![CDATA[.Net]]></category>
		<category><![CDATA[GDI+]]></category>
		<category><![CDATA[VB]]></category>
		<category><![CDATA[源代码]]></category>
		<category><![CDATA[算法]]></category>

		<guid isPermaLink="false">http://www.fantaci.org/?p=656</guid>
		<description><![CDATA[
最近学习了.net下的GDI+编程，下面小秀一下成果，使用GDI+编写的桌面魔方程序，今天把源代码放上，欢迎大家下载，如果机器上有.net环境的话可以直接运行bin目录下的MagicCube.exe进行游戏。<p><a href="http://fantaci.org/archives/656">[源代码]使用VB.Net GDI+编程编写的3D魔方游戏程序</a> is a post from <a href="http://fantaci.org">fantaci.org</a> and <a href="http://cg45.cn">cg45.cn</a></p>
]]></description>
			<content:encoded><![CDATA[<p>最近学习了.net下的GDI+编程，下面小秀一下成果，使用GDI+编写的桌面魔方程序，今天把源代码放上，欢迎大家下载，如果机器上有.net环境的话可以直接运行bin目录下的MagicCube.exe进行游戏。
源代码下载地址
http://www.fantaci.org/code/magiccube/magiccube.zip
下面方式几个重要的算法程序
1，魔方正面九宫格90度翻转，</p>]]></content:encoded>
			<wfw:commentRss>http://fantaci.org/archives/656/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>解决在DIV+Css页面中的right浮动移位或显示错误的问题</title>
		<link>http://fantaci.org/archives/602</link>
		<comments>http://fantaci.org/archives/602#comments</comments>
		<pubDate>Mon, 25 Jan 2010 02:14:21 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[源程序]]></category>
		<category><![CDATA[程序设计]]></category>
		<category><![CDATA[CSS]]></category>
		<category><![CDATA[DIV]]></category>

		<guid isPermaLink="false">http://www.fantaci.org/?p=602</guid>
		<description><![CDATA[大家在做新闻列表显示时，通常会在标题后面增加一个右边对齐的日期文本来显示
这个使用表格做页面设计时候是很简单的，但是如果是DIV方式来实现的话，会有点
麻烦，需要做两层嵌套的来实现，而且代码控制也不易于实现，当然如果你对浏览
器显示效果要求不高的话，可以用li+一个rightfloat的层来实现，但是这种方式在
IE6，IE7下面就会有向下移位的问题，IE8下却没有，这个跟IE8的绘制算法有关，
有疑问的朋友可以与CG探讨.<p><a href="http://fantaci.org/archives/602">解决在DIV+Css页面中的right浮动移位或显示错误的问题</a> is a post from <a href="http://fantaci.org">fantaci.org</a> and <a href="http://cg45.cn">cg45.cn</a></p>
]]></description>
			<content:encoded><![CDATA[<p>大家在做新闻列表显示时，通常会在标题后面增加一个右边对齐的日期文本来显示
这个使用表格做页面设计时候是很简单的，但是如果是DIV方式来实现的话，会有点
麻烦，需要做两层嵌套的来实现，而且代码控制也不易于实现，当然如果你对浏览
器显示效果要求不高的话，可以用li+一个rightfloat的层来实现，但是这种方式在
IE6</p>]]></content:encoded>
			<wfw:commentRss>http://fantaci.org/archives/602/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>[JavaScript]实现简单的类似Lightbox效果的页面弹出对话框</title>
		<link>http://fantaci.org/archives/579</link>
		<comments>http://fantaci.org/archives/579#comments</comments>
		<pubDate>Mon, 11 Jan 2010 06:51:50 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[技术分享]]></category>
		<category><![CDATA[未分类]]></category>
		<category><![CDATA[源程序]]></category>
		<category><![CDATA[程序设计]]></category>
		<category><![CDATA[CSS]]></category>
		<category><![CDATA[JavaScript]]></category>
		<category><![CDATA[JS]]></category>
		<category><![CDATA[LightBox]]></category>

		<guid isPermaLink="false">http://www.fantaci.org/?p=579</guid>
		<description><![CDATA[相信LightBox之类的页面弹出窗口，大家在浏览的时候也应该是很常见的，
实现起来也不算太困难，CG今天把在上次发布的ETP项目源代码中的JS部分
提取出来，方便大家学习和使用。

实现原理：利用DIV的浮动和层的重叠，将对话框的Z-index设置为最高就可以了
另外对于遮罩层来说，只要使遮罩层在对话框层之下，其他页面元素之上即可，
如果需要美观的话，可以设置半透明效果。<p><a href="http://fantaci.org/archives/579">[JavaScript]实现简单的类似Lightbox效果的页面弹出对话框</a> is a post from <a href="http://fantaci.org">fantaci.org</a> and <a href="http://cg45.cn">cg45.cn</a></p>
]]></description>
			<content:encoded><![CDATA[<p>相信LightBox之类的页面弹出窗口，大家在浏览的时候也应该是很常见的，
实现起来也不算太困难，CG今天把在上次发布的ETP项目源代码中的JS部分
提取出来，方便大家学习和使用。
实现原理：利用DIV的浮动和层的重叠，将对话框的Z-index设置为最高就可以了
另外对于遮罩层来说，只要使遮罩层在对话框层之下，其他页面元素之</p>]]></content:encoded>
			<wfw:commentRss>http://fantaci.org/archives/579/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>[源代码]发布IBMETP常熟基地网站项目的源码及设计文档</title>
		<link>http://fantaci.org/archives/574</link>
		<comments>http://fantaci.org/archives/574#comments</comments>
		<pubDate>Sun, 03 Jan 2010 14:32:50 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[技术分享]]></category>
		<category><![CDATA[源程序]]></category>
		<category><![CDATA[程序设计]]></category>
		<category><![CDATA[HTML]]></category>
		<category><![CDATA[IBMETP]]></category>
		<category><![CDATA[下载]]></category>
		<category><![CDATA[分享]]></category>
		<category><![CDATA[源代码]]></category>

		<guid isPermaLink="false">http://www.fantaci.org/?p=574</guid>
		<description><![CDATA[今天要发布的源代码是CG，目前所在培训的常熟IBM-ETP项目培训基地的对外展示网站
的源代码，目前只提供静态HTML部分，还有就是提供网站设计的各个模块和模板页面，
发布给有兴趣的朋友分享，当然，因为最近CG很少最企业或者公司的网站项目，最近没
有通用的网站源程序提供给大家下载，这个项目如果拿去改改成CMS模板也不错。<p><a href="http://fantaci.org/archives/574">[源代码]发布IBMETP常熟基地网站项目的源码及设计文档</a> is a post from <a href="http://fantaci.org">fantaci.org</a> and <a href="http://cg45.cn">cg45.cn</a></p>
]]></description>
			<content:encoded><![CDATA[<p>所有关注我博客动态的朋友们，所有网友们，新年好！
新年的第一篇博文CG依然是发布跟技术相关的内容，元旦假期刚过，CG的大学生活也
就只剩下最后的几个月了，想起来让人有点伤感，不过CG感觉我的campus time还是很
充实的，至少在博客方面，呵呵，开开玩笑。
今天要发布的源代码是CG，目前所在培训的常熟IBM-ETP项目培训</p>]]></content:encoded>
			<wfw:commentRss>http://fantaci.org/archives/574/feed</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>[ASP,源代码]发布一个本地美容工作室展示的网站整站源代码</title>
		<link>http://fantaci.org/archives/549</link>
		<comments>http://fantaci.org/archives/549#comments</comments>
		<pubDate>Wed, 11 Nov 2009 08:54:35 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[技术分享]]></category>
		<category><![CDATA[源程序]]></category>
		<category><![CDATA[程序设计]]></category>
		<category><![CDATA[ASP]]></category>
		<category><![CDATA[web]]></category>
		<category><![CDATA[源代码]]></category>

		<guid isPermaLink="false">http://www.fantaci.org/?p=549</guid>
		<description><![CDATA[继续上篇日志发布新整站代码，这次发布是最近刚完成的一个本地美容造型工作室
的展示网站的整站源代码，技术上还是基于ASP+Access，另外由于工作室的展示要
求实现弹窗显示效果，所以使用了Jquery的相关技术，CG本人一直对Jquery偏爱有
加，当然做出来的效果也是很满意的，另外首页下边的滚动效果也是使用的Jquery
实现的，效果大家测试的时候可以看到。<p><a href="http://fantaci.org/archives/549">[ASP,源代码]发布一个本地美容工作室展示的网站整站源代码</a> is a post from <a href="http://fantaci.org">fantaci.org</a> and <a href="http://cg45.cn">cg45.cn</a></p>
]]></description>
			<content:encoded><![CDATA[<p>继续上篇日志发布新整站代码，这次发布是最近刚完成的一个本地美容造型工作室
的展示网站的整站源代码，技术上还是基于ASP+Access，另外由于工作室的展示要
求实现弹窗显示效果，所以使用了Jquery的相关技术，CG本人一直对Jquery偏爱有
加，当然做出来的效果也是很满意的，另外首页下边的滚动效果也是使用的Jquery
实现的</p>]]></content:encoded>
			<wfw:commentRss>http://fantaci.org/archives/549/feed</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
		<item>
		<title>[ASP,源代码]发布一个中小服务型企业展示的网站整站源代码</title>
		<link>http://fantaci.org/archives/545</link>
		<comments>http://fantaci.org/archives/545#comments</comments>
		<pubDate>Wed, 11 Nov 2009 08:33:12 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[技术分享]]></category>
		<category><![CDATA[源程序]]></category>
		<category><![CDATA[程序设计]]></category>
		<category><![CDATA[ASP]]></category>
		<category><![CDATA[web]]></category>
		<category><![CDATA[源代码]]></category>

		<guid isPermaLink="false">http://www.fantaci.org/?p=545</guid>
		<description><![CDATA[CG又有好长时间没有给大家分享东西了，趁今天下午有空发布一点东西给大家分享
今天发布的是一款基于Asp+access的整站，是CG在两周前替本地一家景观公司制作
的，最近刚刚通过客户要求，现在CG就拿它分享给大家，整站源代码CG的博客中也
发布了很多了，这次发布的还是完全开放源代码，大家可以自由下载和使用，大家
如果有关于该程序代码的问题和Bug报告，欢迎留言<p><a href="http://fantaci.org/archives/545">[ASP,源代码]发布一个中小服务型企业展示的网站整站源代码</a> is a post from <a href="http://fantaci.org">fantaci.org</a> and <a href="http://cg45.cn">cg45.cn</a></p>
]]></description>
			<content:encoded><![CDATA[<p>首先祝所有单身的朋友们“11节”快乐，祝所有摆脱单身的朋友更快乐，呵呵。
一周的感冒终于好了，今天透透气，给大家分享点东西。
CG又有好长时间没有给大家分享东西了，趁今天下午有空发布一点东西给大家分享
今天发布的是一款基于Asp+access的整站，是CG在两周前替本地一家景观公司制作
的，最近刚刚通过客户要求，虽然</p>]]></content:encoded>
			<wfw:commentRss>http://fantaci.org/archives/545/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>[AS]Flash AS3实现对对象(DisplayObject)的鼠标拖动(Drag)跟随</title>
		<link>http://fantaci.org/archives/518</link>
		<comments>http://fantaci.org/archives/518#comments</comments>
		<pubDate>Fri, 18 Sep 2009 09:55:37 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[源程序]]></category>
		<category><![CDATA[程序设计]]></category>
		<category><![CDATA[ActionScript]]></category>
		<category><![CDATA[Flash]]></category>
		<category><![CDATA[编程]]></category>
		<category><![CDATA[项目]]></category>

		<guid isPermaLink="false">http://www.fantaci.org/?p=518</guid>
		<description><![CDATA[flash中对对象的鼠标拖动跟随是很常用的效果，下面是简单的AS3代码实现
一下代码与大家常用的方法有所不同的是，在鼠标拖动显示对象的时候flash
对象的动画播放是不会被打断的和空白，相比flash自带的Drag方法比较符合
用户需要，通过在对象移动时记录位移之后再赋值给复制后的新对象实现图像
的唯一的实现。<p><a href="http://fantaci.org/archives/518">[AS]Flash AS3实现对对象(DisplayObject)的鼠标拖动(Drag)跟随</a> is a post from <a href="http://fantaci.org">fantaci.org</a> and <a href="http://cg45.cn">cg45.cn</a></p>
]]></description>
			<content:encoded><![CDATA[<p>flash中对对象的鼠标拖动跟随是很常用的效果，下面是简单的AS3代码实现
一下代码与大家常用的方法有所不同的是，在鼠标拖动显示对象的时候flash
对象的动画播放是不会被打断的和空白，相比flash自带的Drag方法比较符合
用户需要，通过在对象移动时记录位移之后再赋值给复制后的新对象实现图像
的唯一的实现。
fb703a79aa</p>]]></content:encoded>
			<wfw:commentRss>http://fantaci.org/archives/518/feed</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>[AS]Flash AS3 清空显示对象容器中所有的对象</title>
		<link>http://fantaci.org/archives/515</link>
		<comments>http://fantaci.org/archives/515#comments</comments>
		<pubDate>Fri, 18 Sep 2009 09:47:09 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[技术分享]]></category>
		<category><![CDATA[源程序]]></category>
		<category><![CDATA[程序设计]]></category>
		<category><![CDATA[ActionScript]]></category>
		<category><![CDATA[Flash]]></category>
		<category><![CDATA[编程]]></category>

		<guid isPermaLink="false">http://www.fantaci.org/?p=515</guid>
		<description><![CDATA[在Flash AS3清空显示对象容器(DisplayObjectContainer)中所有的对象(Child)的
方法是很简单的，虽然AS3没有提供一个removeAllChild方法方便用户使用，但是有
的程序员还是会利用其提供的removeChildAt()方法来实现对所有对象的清除工作,
方法也很简单，大家可以考虑写个静态类来放置以下代码<p><a href="http://fantaci.org/archives/515">[AS]Flash AS3 清空显示对象容器中所有的对象</a> is a post from <a href="http://fantaci.org">fantaci.org</a> and <a href="http://cg45.cn">cg45.cn</a></p>
]]></description>
			<content:encoded><![CDATA[<p>在Flash AS3清空显示对象容器(DisplayObjectContainer)中所有的对象(Child)的
方法是很简单的，虽然AS3没有提供一个removeAllChild方法方便用户使用，但是有
的程序员还是会利用其提供的removeChildAt()方法来实现对所有对象的清除工作,
方法也很简单，大家可以考虑写个静态类来放置以下代码，代码如下：
fb703a79aa8f50</p>]]></content:encoded>
			<wfw:commentRss>http://fantaci.org/archives/515/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>[AS]AS3中利用matrix矩阵变换实现对图像的上下和左右转置反转</title>
		<link>http://fantaci.org/archives/509</link>
		<comments>http://fantaci.org/archives/509#comments</comments>
		<pubDate>Fri, 18 Sep 2009 09:36:36 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[技术分享]]></category>
		<category><![CDATA[源程序]]></category>
		<category><![CDATA[程序设计]]></category>
		<category><![CDATA[软件工程]]></category>
		<category><![CDATA[ActionScript]]></category>
		<category><![CDATA[Flash]]></category>
		<category><![CDATA[编程]]></category>
		<category><![CDATA[项目]]></category>

		<guid isPermaLink="false">http://www.fantaci.org/?p=509</guid>
		<description><![CDATA[利用Flash AS3中的matrix矩阵变换实现对flash中的显示对象(DisplayObject)，
例如：图片、图像、动画的处理对程序员来说是很方便的，下面的代码实现对Flash
中任意的显示对象DisplayObject的上下和左右的转置、反转、翻转操作。

原理很简单AS中设置对象的zoom值为-1即可，a为水平方向，b为垂直方向。<p><a href="http://fantaci.org/archives/509">[AS]AS3中利用matrix矩阵变换实现对图像的上下和左右转置反转</a> is a post from <a href="http://fantaci.org">fantaci.org</a> and <a href="http://cg45.cn">cg45.cn</a></p>
]]></description>
			<content:encoded><![CDATA[<p>利用Flash AS3中的matrix矩阵变换实现对flash中的显示对象(DisplayObject)，
例如：图片、图像、动画的处理对程序员来说是很方便的，下面的代码实现对Flash
中任意的显示对象DisplayObject的上下和左右的转置、反转、翻转操作。
原理很简单AS中设置对象的zoom值为-1即可，a为水平方向，b为垂直方向。
代码如下：
fb703a7</p>]]></content:encoded>
			<wfw:commentRss>http://fantaci.org/archives/509/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
