Is it possible to create a dashed border around WinForm's panel control in

Hakan used Ask the Experts™
I'd like to create a dashed border with some radius on corners like picture below. I'd like to use this panel with DragDrop feature.

Watch Question

Do more with

Expert Office
EXPERT OFFICE® is a registered trademark of EXPERTS EXCHANGE®
It will be the same as creating a shaped windows form
Here is an article on that topic

Hirendra Sisodiya created some useful examples in his article:

Once you set the region (Me.Region = New System.Drawing.Region(Tempshape)) You can redraw the dotted shape on top of it  or set a bmp as background image of your form, set the transparencykey property of your form to the background color of your bitmap.

Do more with

Expert Office
Submit tech questions to Ask the Experts™ at any time to receive solutions, advice, and new ideas from leading industry professionals.

Start 7-Day Free Trial