日期:2014-05-17  浏览次数:20787 次

怎么实现控件的旋转?
如题:
不是图片的旋转,让控件围绕中心点做旋转,有没有人做过?

我重写Onpaint方法,但是这里就出现了图像不完整,有些地方会超出容器的范围。怎么解决

------解决方案--------------------
在WinForm中选择是不能,具体看下面两个帖子:
http://stackoverflow.com/questions/5130008/is-it-possible-to-rotate-a-button-control-in-winforms
http://social.msdn.microsoft.com/Forums/windows/en-US/27b62e7c-ee83-48c9-a6fd-900e2dc15190/to-rotate-the-control-in-net-2005-in-c