You are on page 1of 1

Format(781234.576,#,##0.

00)
Format (Now, dd/mm/yyyy)

Checkbox
If CheckBox2.Checked = True Then
sum += BN
End If

If RadioRed.Checked Then
Tcolor = Red Color
LblDisplay.ForeColor = Color.Red
ElseIf RadioGreen.Checked Then
Tcolor = Green Color
LblDisplay.ForeColor = Color.Green
Else
Tcolor = Yellow Color
LblDisplay.ForeColor = Color.Yellow
End If


Dim myGraphics As Graphics = Me.CreateGraphics
Dim myFont As Font
Dim myBrush As Brush
myBrush = New Drawing.SolidBrush(Color.DarkOrchid)
myFont = New System.Drawing.Font(Verdana, 20, FontStyle.Underline)
myGraphics.DrawString(Visual Basic 2013, myFont, myBrush, 10, 10)

You might also like