看看这个项目Callisto http://timheuer.github.com/callisto/ 当然它也是开源的,你可以学习他的源码
Bob Bao [MSFT] MSDN Community Support | Feedback to us