正文请看: 
http://blog.csdn.net/A00553344/archive/2009/03/11/3978312.aspx 源代码:
http://d.download.csdn.net/down/1100881/A00553344