Manage shapes in vb.net

Is there something like VB 6.0 figure management in Vb.Net? I need to draw lines, etc. During development. But I could not find any figure controls in the toolbar.

Thanks Furkan

+4
source share
2 answers

Microsoft has released the free Microsoft Visual Basic Power Pack , which contains Line and Shape controls that you can add to the toolbar. The message here assumes that it is included in VS2008 SP1, so you can already use it.

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

+4
source

there are 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

+1
source

Source: https://habr.com/ru/post/1334232/