参考
http://www.foxtable.com/bbs/dispbbs.asp?BoardID=2&ID=120910&skin=0
如果自己研究,弄一个c1控件看实例代码
https://pan.baidu.com/s/1LwrD2s5NFthnXTjTHuUosQ