How to draw 3D border on windows form in vb.net

 
You can draw a three-dimensional style border on the specified graphics surface and within the specified bounds on a control with the help of ControlPaint.DrawBorder3D Method using vb.net

You can use ControlPaint.DrawBorder3D Method like as :

Public Shared Sub DrawBorder3D (grp As Graphics,rect As Rectangle)

Example

Following example draw a 3D style border on windows form:

Private Sub Form1_Paint(ByVal sender As System.Object, _
                            ByVal e As System.Windows.Forms.PaintEventArgs) _
                            Handles MyBase.Paint
        ControlPaint.DrawBorder3D(e.Graphics, New Rectangle(10, 10, 200, 200))
End Sub