How do I make a dotted border style in Windows Forms?

I am trying to change the style of the border of my form using Windows Forms. The problem is I am stuck and don't know where to go. The parameter is currently FormBorderStyle

set to none

. The hint I got is what I should be using Pen.DashStyle

. Here is a screenshot of what I need.

screenshot

+3


source to share


1 answer


You want to see Paint

your Event Form

and Graphics.DrawRectangle

PaintEventArgs method.



+1


source







All Articles