Jaruzel.com

Draw String on Form


'create a new brush with a single, solid color
Dim myBrush As New SolidBrush(Color.Purple)

'create a new basic font. you can mess around and make it cooler
Dim f As Font = New Font(Font.Bold, 20)

'draw the string onto the form. At Position (0 left), (10 top)
Me.CreateGraphics.DrawString("Hello, This is just a test!", f, myBrush, 0, 10)