
Windows Forms Components and Controls• Chapter 8 357
Private Sub lnkWebSite_LinkClicked (ByVal Sender As Object, _
ByVal e As EventArgs)
'Open the default Web browser and link to the Microsoft Web site
System.Diagnostics.Process.Start("http://www.microsoft.com")
'Mark the link as visited
lnkWebSite.LinkVisited = True
End Sub
TextBox Control
The Windows Forms TextBox control allows you to display text to the user and
collect text from the user.You can also use text boxes to add basic formatting to
your application such as password text boxes.A password text box is one that
displays a placeholder character instead of each character entered.Text boxes can ...