You can draw a Draws a button control in the specified state, on the specified graphics surface, and within the specified bounds with the help of ControlPaint.DrawButton Method using vb.net
You can use ControlPaint.DrawButton Method like as :
Public Shared Sub DrawButton ( _
grp As Graphics, _
rect As Rectangle, _
state As ButtonState _
)
Example
Following example draw different types of buttons on windows form:
Private Sub Form1_Paint(ByVal sender As System.Object, _ ByVal e As System.Windows.Forms.PaintEventArgs) _ Handles MyBase.Paint ControlPaint.DrawButton(e.Graphics, _ New Rectangle(10, 60, 100, 20), ButtonState.Checked) ControlPaint.DrawButton(e.Graphics, _ New Rectangle(120, 60, 100, 20), ButtonState.Flat) ControlPaint.DrawButton(e.Graphics, _ New Rectangle(230, 60, 100, 20), ButtonState.Normal) End Sub