参考资料链接 http://blog.csdn.net/morewindows/article/details/6946811 http://blog.csdn.net/tianshuai11/article/details/7439111