How To Use ColorDialog In Visual Basic.Net
In This VB.NET Tutorial We Will See How To Use ColorDialog And Change A Label Color Using It In Visual Basic .NET Programming Language .
Project Source Code:
Public Class VBNET_ColorDialog
Private Sub BTN_COLOR_Click(sender As Object, e As EventArgs) Handles BTN_COLOR.Click
Dim colors As DialogResult
colors = ColorDialog1.ShowDialog()
If colors = Windows.Forms.DialogResult.OK Then
Label1.ForeColor = ColorDialog1.Color
End If
End Sub
End Class