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.

You will want to be looking at the
PaintEvent of yourFormand theGraphics.DrawRectangleMethod of the PaintEventArgs.