开发者

Best control to draw in

I have a VB app which draws primitive shapes (lines, filled rectangles etc.) into a picturebox control (from its paint event). I've since found out that a picturebox is probably the worst control to use for this. I've also found out that it's better to draw directly onto the form开发者_StackOverflow中文版 but I don't really want to do this as a control gives clipping for 'free'.

What would be the best control for this? The panel control looks like a good candidate but the experiment I tried actually performed worse!

Thanks.


Talking of primitive shapes, if you ever want a shaped control or a shaped Form like a hexagon shaped button or /and an oval Form and things like that then take a look at my code in this MSDN thread please:>>

http://social.msdn.microsoft.com/Forums/en-US/vbgeneral/thread/0cab1cbd-553c-4ac2-97ec-334a4338484d

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜