Font dialog in VB.net
Imports System Imports System.Collections Imports System.ComponentModel Imports System.Windows.Forms Imports System.Data Imports System.Configuration Imports System.Resources Imports System.Drawing Imports System.Drawing.Drawing2D Public Class MainClass Shared Sub Main() Dim dlg As FontDialog = New FontDialog() Dim res As DialogResult = dlg.ShowDialog() End Sub End Class
1. | Show Font dialog and get select font and font color | ||
2. | Font dialog: turn color option on | ||
3. | Use Font dialog to change TextBox font |