开发者

Shapes control in vb.net

Is ther开发者_开发百科e anything like shapes control of VB 6.0, in Vb.Net? I need to draw lines etc. at design time. But I could not find any shapes control in the toolbox.

Thanks Furqan


Microsoft released the free Microsoft Visual Basic Power Pack that contains Line and Shape controls that you can add to the tool box. A post here suggests it is included in VS2008 SP1 so you may already have it.

Alternatively you can create your own using a panel and override the onPaint event.


no built in controls but you can easily achieve the same goal with some API calls: http://msdn.microsoft.com/en-us/library/bbw12xs4(v=VS.90).aspx

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜