记录别人的几篇地址:
http://www.cnblogs.com/vanezkw/archive/2012/07/02/2572799.html
http://www.cnblogs.com/mengdd/archive/2013/03/02/2940185.html
http://blog.csdn.net/cappuccinolau/article/details/8262821