Reputation: 4888
I'm trying to change the border style of my form using Windows Forms. The problem is I'm stuck and don't know where to go. As for now the FormBorderStyle
is set to none
. The hint I got is that I have to use Pen.DashStyle
. Here is a screenshot of what I need.
Upvotes: 3
Views: 2149
Reputation: 54562
You will want to be looking at the Paint
Event of your Form
and the Graphics.DrawRectangle
Method of the PaintEventArgs.
Upvotes: 1