Draw CheckBox on the windows form using vb.net

 
You can draw a check box control in the specified state, on the specified graphics surface, and within the specified bounds with the help of ControlPaint.DrawCheckBox Method using vb.net

You can use ControlPaint.DrawCheckBox Method like as :

Public Shared Sub DrawCheckBox( _
ByVal grp As Graphics, _
ByVal rect As Rectangle, _
ByVal btnstate As ButtonState _
)

Example

Following example draw a checkbox in checked state on windows form:

Private Sub Form1_Paint(ByVal sender As System.Object, _
                            ByVal e As System.Windows.Forms.PaintEventArgs) _
                            Handles MyBase.Paint
        ControlPaint.DrawCheckBox(e.Graphics, _
                                  New Rectangle(10, 10, 30, 30), ButtonState.Checked)
        ControlPaint.DrawCheckBox(e.Graphics, _
                                  New Rectangle(70, 10, 30, 30), ButtonState.Normal)
 
End Sub