<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="ru">
		<id>http://www.vbex.ru/index.php?action=history&amp;feed=atom&amp;title=VB.Net_by_API%2FSystem.Windows.Forms%2FLinkLabel</id>
		<title>VB.Net by API/System.Windows.Forms/LinkLabel - История изменений</title>
		<link rel="self" type="application/atom+xml" href="http://www.vbex.ru/index.php?action=history&amp;feed=atom&amp;title=VB.Net_by_API%2FSystem.Windows.Forms%2FLinkLabel"/>
		<link rel="alternate" type="text/html" href="http://www.vbex.ru/index.php?title=VB.Net_by_API/System.Windows.Forms/LinkLabel&amp;action=history"/>
		<updated>2026-04-05T09:12:26Z</updated>
		<subtitle>История изменений этой страницы в вики</subtitle>
		<generator>MediaWiki 1.30.0</generator>

	<entry>
		<id>http://www.vbex.ru/index.php?title=VB.Net_by_API/System.Windows.Forms/LinkLabel&amp;diff=2734&amp;oldid=prev</id>
		<title> в 16:40, 26 мая 2010</title>
		<link rel="alternate" type="text/html" href="http://www.vbex.ru/index.php?title=VB.Net_by_API/System.Windows.Forms/LinkLabel&amp;diff=2734&amp;oldid=prev"/>
				<updated>2010-05-26T16:40:16Z</updated>
		
		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table class=&quot;diff diff-contentalign-left&quot; data-mw=&quot;interface&quot;&gt;
				&lt;tr style=&quot;vertical-align: top;&quot; lang=&quot;ru&quot;&gt;
				&lt;td colspan=&quot;1&quot; style=&quot;background-color: white; color:black; text-align: center;&quot;&gt;← Предыдущая&lt;/td&gt;
				&lt;td colspan=&quot;1&quot; style=&quot;background-color: white; color:black; text-align: center;&quot;&gt;Версия 16:40, 26 мая 2010&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; style=&quot;text-align: center;&quot; lang=&quot;ru&quot;&gt;&lt;div class=&quot;mw-diff-empty&quot;&gt;(нет различий)&lt;/div&gt;
&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;</summary>
			</entry>

	<entry>
		<id>http://www.vbex.ru/index.php?title=VB.Net_by_API/System.Windows.Forms/LinkLabel&amp;diff=2735&amp;oldid=prev</id>
		<title>Admin: 1 версия</title>
		<link rel="alternate" type="text/html" href="http://www.vbex.ru/index.php?title=VB.Net_by_API/System.Windows.Forms/LinkLabel&amp;diff=2735&amp;oldid=prev"/>
				<updated>2010-05-26T12:52:15Z</updated>
		
		<summary type="html">&lt;p&gt;1 версия&lt;/p&gt;
&lt;p&gt;&lt;b&gt;Новая страница&lt;/b&gt;&lt;/p&gt;&lt;div&gt;==LinkLabel.ActiveLinkColor==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
   &lt;br /&gt;
&amp;lt;source lang=&amp;quot;vbnet&amp;quot;&amp;gt;  &lt;br /&gt;
&lt;br /&gt;
Imports System.Windows.Forms&lt;br /&gt;
Imports System.Drawing.Text&lt;br /&gt;
Imports System.Drawing&lt;br /&gt;
Imports System.Drawing.Drawing2D&lt;br /&gt;
public class LinkLabelLinkData&lt;br /&gt;
   public Shared Sub Main&lt;br /&gt;
        Application.Run(New Form1)&lt;br /&gt;
   End Sub&lt;br /&gt;
End class&lt;br /&gt;
Public Class Form1&lt;br /&gt;
    Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load&lt;br /&gt;
    End Sub&lt;br /&gt;
    Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click&lt;br /&gt;
        LinkLabel1.Text = &amp;quot;Home Page is www.microsoft.ru&amp;quot;&lt;br /&gt;
        LinkLabel1.Links.Add(13, 28, &amp;quot;http://www.microsoft.ru&amp;quot;)&lt;br /&gt;
        LinkLabel1.LinkArea = New LinkArea(13, 28)&lt;br /&gt;
        LinkLabel1.LinkColor = Color.Red&lt;br /&gt;
        LinkLabel1.VisitedLinkColor = Color.Aqua&lt;br /&gt;
        LinkLabel1.ActiveLinkColor = Color.Pink&lt;br /&gt;
        LinkLabel1.Links(0).LinkData = &amp;quot;Register&amp;quot;&lt;br /&gt;
    End Sub&lt;br /&gt;
    Private Sub LinkLabel1_LinkClicked(ByVal sender As System.Object, ByVal e As System.Windows.Forms.LinkLabelLinkClickedEventArgs) Handles LinkLabel1.LinkClicked&lt;br /&gt;
        Label1.Text = LinkLabel1.Text&lt;br /&gt;
    End Sub&lt;br /&gt;
End Class&lt;br /&gt;
&amp;lt;Global.Microsoft.VisualBasic.rupilerServices.DesignerGenerated()&amp;gt; _&lt;br /&gt;
Partial Class Form1&lt;br /&gt;
    Inherits System.Windows.Forms.Form&lt;br /&gt;
    &amp;quot;Form overrides dispose to clean up the component list.&lt;br /&gt;
    &amp;lt;System.Diagnostics.DebuggerNonUserCode()&amp;gt; _&lt;br /&gt;
    Protected Overrides Sub Dispose(ByVal disposing As Boolean)&lt;br /&gt;
        If disposing AndAlso components IsNot Nothing Then&lt;br /&gt;
            components.Dispose()&lt;br /&gt;
        End If&lt;br /&gt;
        MyBase.Dispose(disposing)&lt;br /&gt;
    End Sub&lt;br /&gt;
    &amp;quot;Required by the Windows Form Designer&lt;br /&gt;
    Private components As System.ruponentModel.IContainer&lt;br /&gt;
    &amp;quot;NOTE: The following procedure is required by the Windows Form Designer&lt;br /&gt;
    &amp;quot;It can be modified using the Windows Form Designer.  &lt;br /&gt;
    &amp;quot;Do not modify it using the code editor.&lt;br /&gt;
    &amp;lt;System.Diagnostics.DebuggerStepThrough()&amp;gt; _&lt;br /&gt;
    Private Sub InitializeComponent()&lt;br /&gt;
        Me.LinkLabel1 = New System.Windows.Forms.LinkLabel&lt;br /&gt;
        Me.Button1 = New System.Windows.Forms.Button&lt;br /&gt;
        Me.Label1 = New System.Windows.Forms.Label&lt;br /&gt;
        Me.SuspendLayout()&lt;br /&gt;
        &amp;quot;&lt;br /&gt;
        &amp;quot;LinkLabel1&lt;br /&gt;
        &amp;quot;&lt;br /&gt;
        Me.LinkLabel1.AutoSize = True&lt;br /&gt;
        Me.LinkLabel1.Location = New System.Drawing.Point(182, 51)&lt;br /&gt;
        Me.LinkLabel1.Margin = New System.Windows.Forms.Padding(4, 0, 4, 0)&lt;br /&gt;
        Me.LinkLabel1.Name = &amp;quot;LinkLabel1&amp;quot;&lt;br /&gt;
        Me.LinkLabel1.Size = New System.Drawing.Size(87, 15)&lt;br /&gt;
        Me.LinkLabel1.TabIndex = 0&lt;br /&gt;
        Me.LinkLabel1.TabStop = True&lt;br /&gt;
        Me.LinkLabel1.Text = &amp;quot;LinkLabel1&amp;quot;&lt;br /&gt;
        &amp;quot;&lt;br /&gt;
        &amp;quot;Button1&lt;br /&gt;
        &amp;quot;&lt;br /&gt;
        Me.Button1.Location = New System.Drawing.Point(185, 181)&lt;br /&gt;
        Me.Button1.Name = &amp;quot;Button1&amp;quot;&lt;br /&gt;
        Me.Button1.Size = New System.Drawing.Size(139, 28)&lt;br /&gt;
        Me.Button1.TabIndex = 1&lt;br /&gt;
        Me.Button1.Text = &amp;quot;Button1&amp;quot;&lt;br /&gt;
        Me.Button1.UseVisualStyleBackColor = True&lt;br /&gt;
        &amp;quot;&lt;br /&gt;
        &amp;quot;Label1&lt;br /&gt;
        &amp;quot;&lt;br /&gt;
        Me.Label1.AutoSize = True&lt;br /&gt;
        Me.Label1.Location = New System.Drawing.Point(64, 51)&lt;br /&gt;
        Me.Label1.Name = &amp;quot;Label1&amp;quot;&lt;br /&gt;
        Me.Label1.Size = New System.Drawing.Size(55, 15)&lt;br /&gt;
        Me.Label1.TabIndex = 2&lt;br /&gt;
        Me.Label1.Text = &amp;quot;Label1&amp;quot;&lt;br /&gt;
        &amp;quot;&lt;br /&gt;
        &amp;quot;Form1&lt;br /&gt;
        &amp;quot;&lt;br /&gt;
        Me.AutoScaleDimensions = New System.Drawing.SizeF(8.0!, 15.0!)&lt;br /&gt;
        Me.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font&lt;br /&gt;
        Me.ClientSize = New System.Drawing.Size(547, 250)&lt;br /&gt;
        Me.Controls.Add(Me.Label1)&lt;br /&gt;
        Me.Controls.Add(Me.Button1)&lt;br /&gt;
        Me.Controls.Add(Me.LinkLabel1)&lt;br /&gt;
        Me.Margin = New System.Windows.Forms.Padding(4, 4, 4, 4)&lt;br /&gt;
        Me.Name = &amp;quot;Form1&amp;quot;&lt;br /&gt;
        Me.Text = &amp;quot;Form1&amp;quot;&lt;br /&gt;
        Me.ResumeLayout(False)&lt;br /&gt;
        Me.PerformLayout()&lt;br /&gt;
    End Sub&lt;br /&gt;
    Friend WithEvents LinkLabel1 As System.Windows.Forms.LinkLabel&lt;br /&gt;
    Friend WithEvents Button1 As System.Windows.Forms.Button&lt;br /&gt;
    Friend WithEvents Label1 As System.Windows.Forms.Label&lt;br /&gt;
End Class&lt;br /&gt;
   &lt;br /&gt;
    &lt;br /&gt;
  &amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==LinkLabel.BorderStyle==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
   &lt;br /&gt;
&amp;lt;source lang=&amp;quot;vbnet&amp;quot;&amp;gt;  &lt;br /&gt;
imports System&lt;br /&gt;
imports System.Drawing&lt;br /&gt;
imports System.Windows.Forms&lt;br /&gt;
public class LinkLabelsLinkArea : inherits Form&lt;br /&gt;
  dim lnkMsft as LinkLabel&lt;br /&gt;
  dim lnkLA as LinkLabel&lt;br /&gt;
  public sub New()&lt;br /&gt;
    Size = new Size(300,250)&lt;br /&gt;
    &amp;quot;  use Text property &amp;amp; LinkArea&lt;br /&gt;
    lnkMsft = new LinkLabel()&lt;br /&gt;
    lnkMsft.Parent = me&lt;br /&gt;
    lnkMsft.Text = &amp;quot;www.microsoft.ru&amp;quot;&lt;br /&gt;
    lnkMsft.Location = new Point(0,0)&lt;br /&gt;
    lnkMsft.AutoSize = true&lt;br /&gt;
    lnkMsft.BorderStyle = BorderStyle.None&lt;br /&gt;
    lnkMsft.LinkArea = new LinkArea(4,9)&lt;br /&gt;
    AddHandler lnkMsft.LinkClicked, AddressOf lnkMsft_LinkClicked&lt;br /&gt;
  end sub&lt;br /&gt;
  public shared sub Main() &lt;br /&gt;
    Application.Run(new LinkLabelsLinkArea())&lt;br /&gt;
  end sub&lt;br /&gt;
  private sub lnkMsft_LinkClicked(ByVal sender as object,  ByVal e as LinkLabelLinkClickedEventArgs)&lt;br /&gt;
      lnkMsft.Links(lnkMsft.Links.IndexOf(e.Link)).Visited = true&lt;br /&gt;
       System.Diagnostics.Process.Start(lnkMsft.Text)&lt;br /&gt;
  end sub&lt;br /&gt;
end class&lt;br /&gt;
   &lt;br /&gt;
    &lt;br /&gt;
  &amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==LinkLabel.LinkArea==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
   &lt;br /&gt;
&amp;lt;source lang=&amp;quot;vbnet&amp;quot;&amp;gt;  &lt;br /&gt;
imports System&lt;br /&gt;
imports System.Drawing&lt;br /&gt;
imports System.Windows.Forms&lt;br /&gt;
public class LinkLabelsLinkArea : inherits Form&lt;br /&gt;
  dim lnkMsft as LinkLabel&lt;br /&gt;
  dim lnkLA as LinkLabel&lt;br /&gt;
  public sub New()&lt;br /&gt;
    Size = new Size(300,250)&lt;br /&gt;
    &amp;quot;  use Text property &amp;amp; LinkArea&lt;br /&gt;
    lnkMsft = new LinkLabel()&lt;br /&gt;
    lnkMsft.Parent = me&lt;br /&gt;
    lnkMsft.Text = &amp;quot;www.microsoft.ru&amp;quot;&lt;br /&gt;
    lnkMsft.Location = new Point(0,0)&lt;br /&gt;
    lnkMsft.AutoSize = true&lt;br /&gt;
    lnkMsft.BorderStyle = BorderStyle.None&lt;br /&gt;
    lnkMsft.LinkArea = new LinkArea(4,9)&lt;br /&gt;
    AddHandler lnkMsft.LinkClicked, AddressOf lnkMsft_LinkClicked&lt;br /&gt;
  end sub&lt;br /&gt;
  public shared sub Main() &lt;br /&gt;
    Application.Run(new LinkLabelsLinkArea())&lt;br /&gt;
  end sub&lt;br /&gt;
  private sub lnkMsft_LinkClicked(ByVal sender as object,  ByVal e as LinkLabelLinkClickedEventArgs)&lt;br /&gt;
      lnkMsft.Links(lnkMsft.Links.IndexOf(e.Link)).Visited = true&lt;br /&gt;
       System.Diagnostics.Process.Start(lnkMsft.Text)&lt;br /&gt;
  end sub&lt;br /&gt;
end class&lt;br /&gt;
   &lt;br /&gt;
    &lt;br /&gt;
  &amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==LinkLabel.LinkClicked==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
   &lt;br /&gt;
&amp;lt;source lang=&amp;quot;vbnet&amp;quot;&amp;gt;  &lt;br /&gt;
Imports System&lt;br /&gt;
Imports System.Windows.Forms&lt;br /&gt;
&lt;br /&gt;
Public Class MainClass&lt;br /&gt;
    &lt;br /&gt;
    Shared Sub Main()&lt;br /&gt;
        Dim form1 As Form = New Form1&lt;br /&gt;
        Application.Run(form1)&lt;br /&gt;
&lt;br /&gt;
    End Sub&lt;br /&gt;
End Class&lt;br /&gt;
Public Class Form1&lt;br /&gt;
    Inherits System.Windows.Forms.Form&lt;br /&gt;
#Region &amp;quot; Windows Form Designer generated code &amp;quot;&lt;br /&gt;
    Public Sub New()&lt;br /&gt;
        MyBase.New()&lt;br /&gt;
        &amp;quot;This call is required by the Windows Form Designer.&lt;br /&gt;
        InitializeComponent()&lt;br /&gt;
        &amp;quot;Add any initialization after the InitializeComponent() call&lt;br /&gt;
    End Sub&lt;br /&gt;
    &amp;quot;Form overrides dispose to clean up the component list.&lt;br /&gt;
    Protected Overloads Overrides Sub Dispose(ByVal disposing As Boolean)&lt;br /&gt;
        If disposing Then&lt;br /&gt;
            If Not (components Is Nothing) Then&lt;br /&gt;
                components.Dispose()&lt;br /&gt;
            End If&lt;br /&gt;
        End If&lt;br /&gt;
        MyBase.Dispose(disposing)&lt;br /&gt;
    End Sub&lt;br /&gt;
    &amp;quot;Required by the Windows Form Designer&lt;br /&gt;
    Private components As System.ruponentModel.IContainer&lt;br /&gt;
    &amp;quot;NOTE: The following procedure is required by the Windows Form Designer&lt;br /&gt;
    &amp;quot;It can be modified using the Windows Form Designer.  &lt;br /&gt;
    &amp;quot;Do not modify it using the code editor.&lt;br /&gt;
    Friend WithEvents lnkBuy As System.Windows.Forms.LinkLabel&lt;br /&gt;
    Friend WithEvents lnkWebSite As System.Windows.Forms.LinkLabel&lt;br /&gt;
    &amp;lt;System.Diagnostics.DebuggerStepThrough()&amp;gt; Private Sub InitializeComponent()&lt;br /&gt;
        Me.lnkBuy = New System.Windows.Forms.LinkLabel()&lt;br /&gt;
        Me.lnkWebSite = New System.Windows.Forms.LinkLabel()&lt;br /&gt;
        Me.SuspendLayout()&lt;br /&gt;
        &amp;quot;&lt;br /&gt;
        &amp;quot;lnkBuy&lt;br /&gt;
        &amp;quot;&lt;br /&gt;
        Me.lnkBuy.Font = New System.Drawing.Font(&amp;quot;Tahoma&amp;quot;, 8.25!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(0, Byte))&lt;br /&gt;
        Me.lnkBuy.LinkArea = New System.Windows.Forms.LinkArea(0, 0)&lt;br /&gt;
        Me.lnkBuy.Location = New System.Drawing.Point(16, 60)&lt;br /&gt;
        Me.lnkBuy.Name = &amp;quot;lnkBuy&amp;quot;&lt;br /&gt;
        Me.lnkBuy.Size = New System.Drawing.Size(244, 48)&lt;br /&gt;
        Me.lnkBuy.TabIndex = 3&lt;br /&gt;
        Me.lnkBuy.Text = &amp;quot;www.vbex.ru&amp;quot;&lt;br /&gt;
        &amp;quot;&lt;br /&gt;
        &amp;quot;lnkWebSite&lt;br /&gt;
        &amp;quot;&lt;br /&gt;
        Me.lnkWebSite.Font = New System.Drawing.Font(&amp;quot;Tahoma&amp;quot;, 8.25!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(0, Byte))&lt;br /&gt;
        Me.lnkWebSite.LinkArea = New System.Windows.Forms.LinkArea(0, 0)&lt;br /&gt;
        Me.lnkWebSite.Location = New System.Drawing.Point(16, 16)&lt;br /&gt;
        Me.lnkWebSite.Name = &amp;quot;lnkWebSite&amp;quot;&lt;br /&gt;
        Me.lnkWebSite.Size = New System.Drawing.Size(248, 36)&lt;br /&gt;
        Me.lnkWebSite.TabIndex = 2&lt;br /&gt;
        Me.lnkWebSite.Text = &amp;quot;The whole line is a LinkLabel&amp;quot;&lt;br /&gt;
        &amp;quot;&lt;br /&gt;
        &amp;quot;Form1&lt;br /&gt;
        &amp;quot;&lt;br /&gt;
        Me.AutoScaleBaseSize = New System.Drawing.Size(5, 13)&lt;br /&gt;
        Me.ClientSize = New System.Drawing.Size(292, 150)&lt;br /&gt;
        Me.Controls.AddRange(New System.Windows.Forms.Control() {Me.lnkBuy, Me.lnkWebSite})&lt;br /&gt;
        Me.Name = &amp;quot;Form1&amp;quot;&lt;br /&gt;
        Me.Text = &amp;quot;Link Examples&amp;quot;&lt;br /&gt;
        Me.ResumeLayout(False)&lt;br /&gt;
    End Sub&lt;br /&gt;
#End Region&lt;br /&gt;
    Private Sub lnkBuy_LinkClicked(ByVal sender As Object, _&lt;br /&gt;
      ByVal e As LinkLabelLinkClickedEventArgs) Handles lnkBuy.LinkClicked, _&lt;br /&gt;
      lnkWebSite.LinkClicked&lt;br /&gt;
        e.Link.Visited = True&lt;br /&gt;
        System.Diagnostics.Process.Start(CType(e.Link.LinkData, String))&lt;br /&gt;
    End Sub&lt;br /&gt;
    Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load&lt;br /&gt;
        lnkBuy.Links.Add(0, 2, &amp;quot;http://www.vbex.ru&amp;quot;)&lt;br /&gt;
        lnkBuy.Links.Add(6, 10, &amp;quot;http://www.vbex.ru&amp;quot;)&lt;br /&gt;
        lnkWebSite.Links.Add(0, 10, &amp;quot;http://www.vbex.ru&amp;quot;)&lt;br /&gt;
    End Sub&lt;br /&gt;
End Class&lt;br /&gt;
   &lt;br /&gt;
    &lt;br /&gt;
  &amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==LinkLabel.Link.LinkData==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
   &lt;br /&gt;
&amp;lt;source lang=&amp;quot;vbnet&amp;quot;&amp;gt;  &lt;br /&gt;
Imports System&lt;br /&gt;
Imports System.Data&lt;br /&gt;
Imports System.Windows.Forms&lt;br /&gt;
Imports System.Drawing&lt;br /&gt;
Imports  System.Diagnostics &lt;br /&gt;
Public Class MainClass&lt;br /&gt;
    &lt;br /&gt;
    Shared Sub Main()&lt;br /&gt;
       Dim form1 As Form = New Form1&lt;br /&gt;
       Application.Run(form1)    &lt;br /&gt;
    End Sub&lt;br /&gt;
End Class&lt;br /&gt;
&lt;br /&gt;
Public Class Form1&lt;br /&gt;
    Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load&lt;br /&gt;
        Dim new_link As System.Windows.Forms.LinkLabel.Link&lt;br /&gt;
        llblPangram.Links.Clear()&lt;br /&gt;
        new_link = llblPangram.Links.Add(16, 3)&lt;br /&gt;
        new_link.LinkData = &amp;quot;http://www.vbex.ru&amp;quot;&lt;br /&gt;
        new_link = llblPangram.Links.Add(40, 3)&lt;br /&gt;
        new_link.LinkData = &amp;quot;http://www.vbex.ru&amp;quot;&lt;br /&gt;
    End Sub&lt;br /&gt;
    &amp;quot; Display the URL associated with the clicked link.&lt;br /&gt;
    Private Sub llblPangram_LinkClicked(ByVal sender As System.Object, _&lt;br /&gt;
     ByVal e As System.Windows.Forms.LinkLabelLinkClickedEventArgs) _&lt;br /&gt;
     Handles llblPangram.LinkClicked&lt;br /&gt;
        System.Diagnostics.Process.Start(e.Link.LinkData.ToString)&lt;br /&gt;
    End Sub&lt;br /&gt;
End Class&lt;br /&gt;
&lt;br /&gt;
&amp;lt;Global.Microsoft.VisualBasic.rupilerServices.DesignerGenerated()&amp;gt; _&lt;br /&gt;
Partial Public Class Form1&lt;br /&gt;
    Inherits System.Windows.Forms.Form&lt;br /&gt;
    &amp;quot;Form overrides dispose to clean up the component list.&lt;br /&gt;
    &amp;lt;System.Diagnostics.DebuggerNonUserCode()&amp;gt; _&lt;br /&gt;
    Protected Overloads Overrides Sub Dispose(ByVal disposing As Boolean)&lt;br /&gt;
        If disposing AndAlso components IsNot Nothing Then&lt;br /&gt;
            components.Dispose()&lt;br /&gt;
        End If&lt;br /&gt;
        MyBase.Dispose(disposing)&lt;br /&gt;
    End Sub&lt;br /&gt;
    &amp;quot;Required by the Windows Form Designer&lt;br /&gt;
    Private components As System.ruponentModel.IContainer&lt;br /&gt;
    &amp;quot;NOTE: The following procedure is required by the Windows Form Designer&lt;br /&gt;
    &amp;quot;It can be modified using the Windows Form Designer.  &lt;br /&gt;
    &amp;quot;Do not modify it using the code editor.&lt;br /&gt;
    &amp;lt;System.Diagnostics.DebuggerStepThrough()&amp;gt; _&lt;br /&gt;
    Private Sub InitializeComponent()&lt;br /&gt;
        Me.llblPangram = New System.Windows.Forms.LinkLabel&lt;br /&gt;
        Me.SuspendLayout()&lt;br /&gt;
        &amp;quot;&lt;br /&gt;
        &amp;quot;llblPangram&lt;br /&gt;
        &amp;quot;&lt;br /&gt;
        Me.llblPangram.Font = New System.Drawing.Font(&amp;quot;Microsoft Sans Serif&amp;quot;, 10.0!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(0, Byte))&lt;br /&gt;
        Me.llblPangram.Location = New System.Drawing.Point(8, 80)&lt;br /&gt;
        Me.llblPangram.Name = &amp;quot;llblPangram&amp;quot;&lt;br /&gt;
        Me.llblPangram.Size = New System.Drawing.Size(296, 24)&lt;br /&gt;
        Me.llblPangram.TabIndex = 1&lt;br /&gt;
        Me.llblPangram.TabStop = True&lt;br /&gt;
        Me.llblPangram.Text = &amp;quot;The quick brown fox jumps over the lazy dog.&amp;quot;&lt;br /&gt;
        &amp;quot;&lt;br /&gt;
        &amp;quot;Form1&lt;br /&gt;
        &amp;quot;&lt;br /&gt;
        Me.AutoScaleDimensions = New System.Drawing.SizeF(6.0!, 13.0!)&lt;br /&gt;
        Me.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font&lt;br /&gt;
        Me.ClientSize = New System.Drawing.Size(325, 181)&lt;br /&gt;
        Me.Controls.Add(Me.llblPangram)&lt;br /&gt;
        Me.Name = &amp;quot;Form1&amp;quot;&lt;br /&gt;
        Me.Text = &amp;quot;UseLinkLabel&amp;quot;&lt;br /&gt;
        Me.ResumeLayout(False)&lt;br /&gt;
        Me.PerformLayout()&lt;br /&gt;
    End Sub&lt;br /&gt;
    Friend WithEvents llblPangram As System.Windows.Forms.LinkLabel&lt;br /&gt;
End Class&lt;br /&gt;
   &lt;br /&gt;
    &lt;br /&gt;
  &amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==LinkLabel.Links.Add==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
   &lt;br /&gt;
&amp;lt;source lang=&amp;quot;vbnet&amp;quot;&amp;gt;  &lt;br /&gt;
Imports System&lt;br /&gt;
Imports System.Windows.Forms&lt;br /&gt;
&lt;br /&gt;
Public Class MainClass&lt;br /&gt;
    &lt;br /&gt;
    Shared Sub Main()&lt;br /&gt;
        Dim form1 As Form = New Form1&lt;br /&gt;
        Application.Run(form1)&lt;br /&gt;
&lt;br /&gt;
    End Sub&lt;br /&gt;
End Class&lt;br /&gt;
Public Class Form1&lt;br /&gt;
    Inherits System.Windows.Forms.Form&lt;br /&gt;
#Region &amp;quot; Windows Form Designer generated code &amp;quot;&lt;br /&gt;
    Public Sub New()&lt;br /&gt;
        MyBase.New()&lt;br /&gt;
        &amp;quot;This call is required by the Windows Form Designer.&lt;br /&gt;
        InitializeComponent()&lt;br /&gt;
        &amp;quot;Add any initialization after the InitializeComponent() call&lt;br /&gt;
    End Sub&lt;br /&gt;
    &amp;quot;Form overrides dispose to clean up the component list.&lt;br /&gt;
    Protected Overloads Overrides Sub Dispose(ByVal disposing As Boolean)&lt;br /&gt;
        If disposing Then&lt;br /&gt;
            If Not (components Is Nothing) Then&lt;br /&gt;
                components.Dispose()&lt;br /&gt;
            End If&lt;br /&gt;
        End If&lt;br /&gt;
        MyBase.Dispose(disposing)&lt;br /&gt;
    End Sub&lt;br /&gt;
    &amp;quot;Required by the Windows Form Designer&lt;br /&gt;
    Private components As System.ruponentModel.IContainer&lt;br /&gt;
    &amp;quot;NOTE: The following procedure is required by the Windows Form Designer&lt;br /&gt;
    &amp;quot;It can be modified using the Windows Form Designer.  &lt;br /&gt;
    &amp;quot;Do not modify it using the code editor.&lt;br /&gt;
    Friend WithEvents lnkBuy As System.Windows.Forms.LinkLabel&lt;br /&gt;
    Friend WithEvents lnkWebSite As System.Windows.Forms.LinkLabel&lt;br /&gt;
    &amp;lt;System.Diagnostics.DebuggerStepThrough()&amp;gt; Private Sub InitializeComponent()&lt;br /&gt;
        Me.lnkBuy = New System.Windows.Forms.LinkLabel()&lt;br /&gt;
        Me.lnkWebSite = New System.Windows.Forms.LinkLabel()&lt;br /&gt;
        Me.SuspendLayout()&lt;br /&gt;
        &amp;quot;&lt;br /&gt;
        &amp;quot;lnkBuy&lt;br /&gt;
        &amp;quot;&lt;br /&gt;
        Me.lnkBuy.Font = New System.Drawing.Font(&amp;quot;Tahoma&amp;quot;, 8.25!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(0, Byte))&lt;br /&gt;
        Me.lnkBuy.LinkArea = New System.Windows.Forms.LinkArea(0, 0)&lt;br /&gt;
        Me.lnkBuy.Location = New System.Drawing.Point(16, 60)&lt;br /&gt;
        Me.lnkBuy.Name = &amp;quot;lnkBuy&amp;quot;&lt;br /&gt;
        Me.lnkBuy.Size = New System.Drawing.Size(244, 48)&lt;br /&gt;
        Me.lnkBuy.TabIndex = 3&lt;br /&gt;
        Me.lnkBuy.Text = &amp;quot;www.vbex.ru&amp;quot;&lt;br /&gt;
        &amp;quot;&lt;br /&gt;
        &amp;quot;lnkWebSite&lt;br /&gt;
        &amp;quot;&lt;br /&gt;
        Me.lnkWebSite.Font = New System.Drawing.Font(&amp;quot;Tahoma&amp;quot;, 8.25!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(0, Byte))&lt;br /&gt;
        Me.lnkWebSite.LinkArea = New System.Windows.Forms.LinkArea(0, 0)&lt;br /&gt;
        Me.lnkWebSite.Location = New System.Drawing.Point(16, 16)&lt;br /&gt;
        Me.lnkWebSite.Name = &amp;quot;lnkWebSite&amp;quot;&lt;br /&gt;
        Me.lnkWebSite.Size = New System.Drawing.Size(248, 36)&lt;br /&gt;
        Me.lnkWebSite.TabIndex = 2&lt;br /&gt;
        Me.lnkWebSite.Text = &amp;quot;The whole line is a LinkLabel&amp;quot;&lt;br /&gt;
        &amp;quot;&lt;br /&gt;
        &amp;quot;Form1&lt;br /&gt;
        &amp;quot;&lt;br /&gt;
        Me.AutoScaleBaseSize = New System.Drawing.Size(5, 13)&lt;br /&gt;
        Me.ClientSize = New System.Drawing.Size(292, 150)&lt;br /&gt;
        Me.Controls.AddRange(New System.Windows.Forms.Control() {Me.lnkBuy, Me.lnkWebSite})&lt;br /&gt;
        Me.Name = &amp;quot;Form1&amp;quot;&lt;br /&gt;
        Me.Text = &amp;quot;Link Examples&amp;quot;&lt;br /&gt;
        Me.ResumeLayout(False)&lt;br /&gt;
    End Sub&lt;br /&gt;
#End Region&lt;br /&gt;
    Private Sub lnkBuy_LinkClicked(ByVal sender As Object, _&lt;br /&gt;
      ByVal e As LinkLabelLinkClickedEventArgs) Handles lnkBuy.LinkClicked, _&lt;br /&gt;
      lnkWebSite.LinkClicked&lt;br /&gt;
        e.Link.Visited = True&lt;br /&gt;
        System.Diagnostics.Process.Start(CType(e.Link.LinkData, String))&lt;br /&gt;
    End Sub&lt;br /&gt;
    Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load&lt;br /&gt;
        lnkBuy.Links.Add(0, 2, &amp;quot;http://www.vbex.ru&amp;quot;)&lt;br /&gt;
        lnkBuy.Links.Add(6, 10, &amp;quot;http://www.vbex.ru&amp;quot;)&lt;br /&gt;
        lnkWebSite.Links.Add(0, 10, &amp;quot;http://www.vbex.ru&amp;quot;)&lt;br /&gt;
    End Sub&lt;br /&gt;
End Class&lt;br /&gt;
   &lt;br /&gt;
    &lt;br /&gt;
  &amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==LinkLabel.Links.IndexOf==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
   &lt;br /&gt;
&amp;lt;source lang=&amp;quot;vbnet&amp;quot;&amp;gt;  &lt;br /&gt;
Imports System.Drawing&lt;br /&gt;
Imports System.Drawing.Drawing2D&lt;br /&gt;
Imports System.Windows.Forms&lt;br /&gt;
public class LinkLabelLocalRemote&lt;br /&gt;
   public Shared Sub Main&lt;br /&gt;
        Application.Run(New Form1)&lt;br /&gt;
   End Sub&lt;br /&gt;
End class&lt;br /&gt;
Public Class Form1&lt;br /&gt;
    Inherits System.Windows.Forms.Form&lt;br /&gt;
#Region &amp;quot; Windows Form Designer generated code &amp;quot;&lt;br /&gt;
    Public Sub New()&lt;br /&gt;
        MyBase.New()&lt;br /&gt;
        &amp;quot;This call is required by the Windows Form Designer.&lt;br /&gt;
        InitializeComponent()&lt;br /&gt;
        &amp;quot;Add any initialization after the InitializeComponent() call&lt;br /&gt;
    End Sub&lt;br /&gt;
    &amp;quot;Form overrides dispose to clean up the component list.&lt;br /&gt;
    Protected Overloads Overrides Sub Dispose(ByVal disposing As Boolean)&lt;br /&gt;
        If disposing Then&lt;br /&gt;
            If Not (components Is Nothing) Then&lt;br /&gt;
                components.Dispose()&lt;br /&gt;
            End If&lt;br /&gt;
        End If&lt;br /&gt;
        MyBase.Dispose(disposing)&lt;br /&gt;
    End Sub&lt;br /&gt;
    &amp;quot;Required by the Windows Form Designer&lt;br /&gt;
    Private components As System.ruponentModel.IContainer&lt;br /&gt;
    &amp;quot;NOTE: The following procedure is required by the Windows Form Designer&lt;br /&gt;
    &amp;quot;It can be modified using the Windows Form Designer.  &lt;br /&gt;
    &amp;quot;Do not modify it using the code editor.&lt;br /&gt;
    Friend WithEvents LinkLabel1 As System.Windows.Forms.LinkLabel&lt;br /&gt;
    Friend WithEvents Label1 As System.Windows.Forms.Label&lt;br /&gt;
    &amp;lt;System.Diagnostics.DebuggerStepThrough()&amp;gt; Private Sub InitializeComponent()&lt;br /&gt;
        Me.LinkLabel1 = New System.Windows.Forms.LinkLabel&lt;br /&gt;
        Me.Label1 = New System.Windows.Forms.Label&lt;br /&gt;
        Me.SuspendLayout()&lt;br /&gt;
        &amp;quot;&lt;br /&gt;
        &amp;quot;LinkLabel1&lt;br /&gt;
        &amp;quot;&lt;br /&gt;
        Me.LinkLabel1.Location = New System.Drawing.Point(32, 80)&lt;br /&gt;
        Me.LinkLabel1.Name = &amp;quot;LinkLabel1&amp;quot;&lt;br /&gt;
        Me.LinkLabel1.Size = New System.Drawing.Size(224, 16)&lt;br /&gt;
        Me.LinkLabel1.TabIndex = 0&lt;br /&gt;
        Me.LinkLabel1.TabStop = True&lt;br /&gt;
        Me.LinkLabel1.Text = &amp;quot;Get more information locally or on the web.&amp;quot;&lt;br /&gt;
        &amp;quot;&lt;br /&gt;
        &amp;quot;Form1&lt;br /&gt;
        &amp;quot;&lt;br /&gt;
        Me.AutoScaleBaseSize = New System.Drawing.Size(5, 13)&lt;br /&gt;
        Me.ClientSize = New System.Drawing.Size(292, 273)&lt;br /&gt;
        Me.Controls.Add(Me.Label1)&lt;br /&gt;
        Me.Controls.Add(Me.LinkLabel1)&lt;br /&gt;
        Me.Name = &amp;quot;Form1&amp;quot;&lt;br /&gt;
        Me.Text = &amp;quot;Form1&amp;quot;&lt;br /&gt;
        Me.ResumeLayout(False)&lt;br /&gt;
    End Sub&lt;br /&gt;
#End Region&lt;br /&gt;
    Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load&lt;br /&gt;
        LinkLabel1.Links.Add(21, 7, &amp;quot;locally&amp;quot;)&lt;br /&gt;
        LinkLabel1.Links.Add(39, 3, &amp;quot;web&amp;quot;)&lt;br /&gt;
    End Sub&lt;br /&gt;
    Private Sub LinkLabel1_LinkClicked(ByVal sender As System.Object, ByVal e As System.Windows.Forms.LinkLabelLinkClickedEventArgs) Handles LinkLabel1.LinkClicked&lt;br /&gt;
        LinkLabel1.Links(LinkLabel1.Links.IndexOf(e.Link)).Visited = True&lt;br /&gt;
        If (e.Link.LinkData.ToString() = &amp;quot;locally&amp;quot;) Then&lt;br /&gt;
            Dim InfoWindow As New Form2&lt;br /&gt;
            InfoWindow.Show()&lt;br /&gt;
        Else&lt;br /&gt;
            System.Diagnostics.Process.Start(&amp;quot;www.vbex.ru&amp;quot;)&lt;br /&gt;
        End If&lt;br /&gt;
    End Sub&lt;br /&gt;
End Class&lt;br /&gt;
Public Class Form2&lt;br /&gt;
    Inherits System.Windows.Forms.Form&lt;br /&gt;
#Region &amp;quot; Windows Form Designer generated code &amp;quot;&lt;br /&gt;
    Public Sub New()&lt;br /&gt;
        MyBase.New()&lt;br /&gt;
        &amp;quot;This call is required by the Windows Form Designer.&lt;br /&gt;
        InitializeComponent()&lt;br /&gt;
        &amp;quot;Add any initialization after the InitializeComponent() call&lt;br /&gt;
    End Sub&lt;br /&gt;
    &amp;quot;Form overrides dispose to clean up the component list.&lt;br /&gt;
    Protected Overloads Overrides Sub Dispose(ByVal disposing As Boolean)&lt;br /&gt;
        If disposing Then&lt;br /&gt;
            If Not (components Is Nothing) Then&lt;br /&gt;
                components.Dispose()&lt;br /&gt;
            End If&lt;br /&gt;
        End If&lt;br /&gt;
        MyBase.Dispose(disposing)&lt;br /&gt;
    End Sub&lt;br /&gt;
    &amp;quot;Required by the Windows Form Designer&lt;br /&gt;
    Private components As System.ruponentModel.IContainer&lt;br /&gt;
    &amp;quot;NOTE: The following procedure is required by the Windows Form Designer&lt;br /&gt;
    &amp;quot;It can be modified using the Windows Form Designer.  &lt;br /&gt;
    &amp;quot;Do not modify it using the code editor.&lt;br /&gt;
    Friend WithEvents Label1 As System.Windows.Forms.Label&lt;br /&gt;
    &amp;lt;System.Diagnostics.DebuggerStepThrough()&amp;gt; Private Sub InitializeComponent()&lt;br /&gt;
        Me.Label1 = New System.Windows.Forms.Label&lt;br /&gt;
        Me.SuspendLayout()&lt;br /&gt;
        &amp;quot;&lt;br /&gt;
        &amp;quot;Label1&lt;br /&gt;
        &amp;quot;&lt;br /&gt;
        Me.Label1.Font = New System.Drawing.Font(&amp;quot;Microsoft Sans Serif&amp;quot;, 24.0!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(0, Byte))&lt;br /&gt;
        Me.Label1.Location = New System.Drawing.Point(0, 0)&lt;br /&gt;
        Me.Label1.Name = &amp;quot;Label1&amp;quot;&lt;br /&gt;
        Me.Label1.Size = New System.Drawing.Size(176, 48)&lt;br /&gt;
        Me.Label1.TabIndex = 0&lt;br /&gt;
        Me.Label1.Text = &amp;quot;Form 2&amp;quot;&lt;br /&gt;
        &amp;quot;&lt;br /&gt;
        &amp;quot;Form2&lt;br /&gt;
        &amp;quot;&lt;br /&gt;
        Me.AutoScaleBaseSize = New System.Drawing.Size(5, 13)&lt;br /&gt;
        Me.ClientSize = New System.Drawing.Size(292, 273)&lt;br /&gt;
        Me.Controls.Add(Me.Label1)&lt;br /&gt;
        Me.Name = &amp;quot;Form2&amp;quot;&lt;br /&gt;
        Me.Text = &amp;quot;Form2&amp;quot;&lt;br /&gt;
        Me.ResumeLayout(False)&lt;br /&gt;
    End Sub&lt;br /&gt;
#End Region&lt;br /&gt;
End Class&lt;br /&gt;
   &lt;br /&gt;
    &lt;br /&gt;
  &amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==LinkLabel.LinkVisited==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
   &lt;br /&gt;
&amp;lt;source lang=&amp;quot;vbnet&amp;quot;&amp;gt;  &lt;br /&gt;
Imports System&lt;br /&gt;
Imports System.Drawing&lt;br /&gt;
Imports System.Windows.Forms&lt;br /&gt;
Public Class MainClass&lt;br /&gt;
   Shared Sub Main()&lt;br /&gt;
        Dim myform As Form = New FrmLinkLabel()&lt;br /&gt;
        Application.Run(myform)&lt;br /&gt;
   End Sub &amp;quot; Main&lt;br /&gt;
End Class&lt;br /&gt;
Public Class FrmLinkLabel&lt;br /&gt;
   Inherits Form&lt;br /&gt;
#Region &amp;quot; Windows Form Designer generated code &amp;quot;&lt;br /&gt;
   Public Sub New()&lt;br /&gt;
      MyBase.New()&lt;br /&gt;
      &amp;quot;This call is required by the Windows Form Designer.&lt;br /&gt;
      InitializeComponent()&lt;br /&gt;
      &amp;quot;Add any initialization after the InitializeComponent() call&lt;br /&gt;
   End Sub&lt;br /&gt;
   &amp;quot;Form overrides dispose to clean up the component list.&lt;br /&gt;
   Protected Overloads Overrides Sub Dispose(ByVal disposing As Boolean)&lt;br /&gt;
      If disposing Then&lt;br /&gt;
         If Not (components Is Nothing) Then&lt;br /&gt;
            components.Dispose()&lt;br /&gt;
         End If&lt;br /&gt;
      End If&lt;br /&gt;
      MyBase.Dispose(disposing)&lt;br /&gt;
   End Sub&lt;br /&gt;
   &amp;quot; linklabels to C: drive, www.deitel.ru and Notepad&lt;br /&gt;
   Friend WithEvents linkLabel As LinkLabel&lt;br /&gt;
   &amp;quot;Required by the Windows Form Designer&lt;br /&gt;
   Private components As System.ruponentModel.Container&lt;br /&gt;
   &amp;quot;NOTE: The following procedure is required by the Windows Form Designer&lt;br /&gt;
   &amp;quot;It can be modified using the Windows Form Designer.  &lt;br /&gt;
   &amp;quot;Do not modify it using the code editor.&lt;br /&gt;
   &amp;lt;System.Diagnostics.DebuggerStepThrough()&amp;gt; Private Sub InitializeComponent()&lt;br /&gt;
      Me.linkLabel = New LinkLabel()&lt;br /&gt;
      Me.SuspendLayout()&lt;br /&gt;
      &amp;quot;&lt;br /&gt;
      &amp;quot;linkLabel&lt;br /&gt;
      &amp;quot;&lt;br /&gt;
      Me.linkLabel.Location = New System.Drawing.Point(72, 16)&lt;br /&gt;
      Me.linkLabel.Name = &amp;quot;linkLabel&amp;quot;&lt;br /&gt;
      Me.linkLabel.TabIndex = 0&lt;br /&gt;
      Me.linkLabel.TabStop = True&lt;br /&gt;
      Me.linkLabel.Text = &amp;quot;Open Notepad&amp;quot;&lt;br /&gt;
      &amp;quot;&lt;br /&gt;
      &amp;quot;FrmLinkLabel&lt;br /&gt;
      &amp;quot;&lt;br /&gt;
      Me.AutoScaleBaseSize = New System.Drawing.Size(5, 13)&lt;br /&gt;
      Me.ClientSize = New System.Drawing.Size(364, 149)&lt;br /&gt;
      Me.Controls.AddRange(New Control() {Me.linkLabel})&lt;br /&gt;
      Me.Name = &amp;quot;FrmLinkLabel&amp;quot;&lt;br /&gt;
      Me.Text = &amp;quot;LinkLabelTest&amp;quot;&lt;br /&gt;
      Me.ResumeLayout(False)&lt;br /&gt;
   End Sub&lt;br /&gt;
#End Region&lt;br /&gt;
   &amp;quot; browse C:\ drive&lt;br /&gt;
   Private Sub linkLabel_LinkClicked _&lt;br /&gt;
      (ByVal sender As System.Object, ByVal e As _&lt;br /&gt;
      System.Windows.Forms.LinkLabelLinkClickedEventArgs) _&lt;br /&gt;
      Handles linkLabel.LinkClicked&lt;br /&gt;
      linkLabel.LinkVisited = True&lt;br /&gt;
      System.Diagnostics.Process.Start(&amp;quot;notepad&amp;quot;)&lt;br /&gt;
  End Sub &amp;quot; linkLabel&lt;br /&gt;
End Class &lt;br /&gt;
   &lt;br /&gt;
    &lt;br /&gt;
  &amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==LinkLabel.VisitedLinkColor==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
   &lt;br /&gt;
&amp;lt;source lang=&amp;quot;vbnet&amp;quot;&amp;gt;  &lt;br /&gt;
&lt;br /&gt;
Imports System.Windows.Forms&lt;br /&gt;
Imports System.Drawing.Text&lt;br /&gt;
Imports System.Drawing&lt;br /&gt;
Imports System.Drawing.Drawing2D&lt;br /&gt;
public class LinkLabelLinkData&lt;br /&gt;
   public Shared Sub Main&lt;br /&gt;
        Application.Run(New Form1)&lt;br /&gt;
   End Sub&lt;br /&gt;
End class&lt;br /&gt;
Public Class Form1&lt;br /&gt;
    Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load&lt;br /&gt;
    End Sub&lt;br /&gt;
    Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click&lt;br /&gt;
        LinkLabel1.Text = &amp;quot;Home Page is www.microsoft.ru&amp;quot;&lt;br /&gt;
        LinkLabel1.Links.Add(13, 28, &amp;quot;http://www.microsoft.ru&amp;quot;)&lt;br /&gt;
        LinkLabel1.LinkArea = New LinkArea(13, 28)&lt;br /&gt;
        LinkLabel1.LinkColor = Color.Red&lt;br /&gt;
        LinkLabel1.VisitedLinkColor = Color.Aqua&lt;br /&gt;
        LinkLabel1.ActiveLinkColor = Color.Pink&lt;br /&gt;
        LinkLabel1.Links(0).LinkData = &amp;quot;Register&amp;quot;&lt;br /&gt;
    End Sub&lt;br /&gt;
    Private Sub LinkLabel1_LinkClicked(ByVal sender As System.Object, ByVal e As System.Windows.Forms.LinkLabelLinkClickedEventArgs) Handles LinkLabel1.LinkClicked&lt;br /&gt;
        Label1.Text = LinkLabel1.Text&lt;br /&gt;
    End Sub&lt;br /&gt;
End Class&lt;br /&gt;
&amp;lt;Global.Microsoft.VisualBasic.rupilerServices.DesignerGenerated()&amp;gt; _&lt;br /&gt;
Partial Class Form1&lt;br /&gt;
    Inherits System.Windows.Forms.Form&lt;br /&gt;
    &amp;quot;Form overrides dispose to clean up the component list.&lt;br /&gt;
    &amp;lt;System.Diagnostics.DebuggerNonUserCode()&amp;gt; _&lt;br /&gt;
    Protected Overrides Sub Dispose(ByVal disposing As Boolean)&lt;br /&gt;
        If disposing AndAlso components IsNot Nothing Then&lt;br /&gt;
            components.Dispose()&lt;br /&gt;
        End If&lt;br /&gt;
        MyBase.Dispose(disposing)&lt;br /&gt;
    End Sub&lt;br /&gt;
    &amp;quot;Required by the Windows Form Designer&lt;br /&gt;
    Private components As System.ruponentModel.IContainer&lt;br /&gt;
    &amp;quot;NOTE: The following procedure is required by the Windows Form Designer&lt;br /&gt;
    &amp;quot;It can be modified using the Windows Form Designer.  &lt;br /&gt;
    &amp;quot;Do not modify it using the code editor.&lt;br /&gt;
    &amp;lt;System.Diagnostics.DebuggerStepThrough()&amp;gt; _&lt;br /&gt;
    Private Sub InitializeComponent()&lt;br /&gt;
        Me.LinkLabel1 = New System.Windows.Forms.LinkLabel&lt;br /&gt;
        Me.Button1 = New System.Windows.Forms.Button&lt;br /&gt;
        Me.Label1 = New System.Windows.Forms.Label&lt;br /&gt;
        Me.SuspendLayout()&lt;br /&gt;
        &amp;quot;&lt;br /&gt;
        &amp;quot;LinkLabel1&lt;br /&gt;
        &amp;quot;&lt;br /&gt;
        Me.LinkLabel1.AutoSize = True&lt;br /&gt;
        Me.LinkLabel1.Location = New System.Drawing.Point(182, 51)&lt;br /&gt;
        Me.LinkLabel1.Margin = New System.Windows.Forms.Padding(4, 0, 4, 0)&lt;br /&gt;
        Me.LinkLabel1.Name = &amp;quot;LinkLabel1&amp;quot;&lt;br /&gt;
        Me.LinkLabel1.Size = New System.Drawing.Size(87, 15)&lt;br /&gt;
        Me.LinkLabel1.TabIndex = 0&lt;br /&gt;
        Me.LinkLabel1.TabStop = True&lt;br /&gt;
        Me.LinkLabel1.Text = &amp;quot;LinkLabel1&amp;quot;&lt;br /&gt;
        &amp;quot;&lt;br /&gt;
        &amp;quot;Button1&lt;br /&gt;
        &amp;quot;&lt;br /&gt;
        Me.Button1.Location = New System.Drawing.Point(185, 181)&lt;br /&gt;
        Me.Button1.Name = &amp;quot;Button1&amp;quot;&lt;br /&gt;
        Me.Button1.Size = New System.Drawing.Size(139, 28)&lt;br /&gt;
        Me.Button1.TabIndex = 1&lt;br /&gt;
        Me.Button1.Text = &amp;quot;Button1&amp;quot;&lt;br /&gt;
        Me.Button1.UseVisualStyleBackColor = True&lt;br /&gt;
        &amp;quot;&lt;br /&gt;
        &amp;quot;Label1&lt;br /&gt;
        &amp;quot;&lt;br /&gt;
        Me.Label1.AutoSize = True&lt;br /&gt;
        Me.Label1.Location = New System.Drawing.Point(64, 51)&lt;br /&gt;
        Me.Label1.Name = &amp;quot;Label1&amp;quot;&lt;br /&gt;
        Me.Label1.Size = New System.Drawing.Size(55, 15)&lt;br /&gt;
        Me.Label1.TabIndex = 2&lt;br /&gt;
        Me.Label1.Text = &amp;quot;Label1&amp;quot;&lt;br /&gt;
        &amp;quot;&lt;br /&gt;
        &amp;quot;Form1&lt;br /&gt;
        &amp;quot;&lt;br /&gt;
        Me.AutoScaleDimensions = New System.Drawing.SizeF(8.0!, 15.0!)&lt;br /&gt;
        Me.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font&lt;br /&gt;
        Me.ClientSize = New System.Drawing.Size(547, 250)&lt;br /&gt;
        Me.Controls.Add(Me.Label1)&lt;br /&gt;
        Me.Controls.Add(Me.Button1)&lt;br /&gt;
        Me.Controls.Add(Me.LinkLabel1)&lt;br /&gt;
        Me.Margin = New System.Windows.Forms.Padding(4, 4, 4, 4)&lt;br /&gt;
        Me.Name = &amp;quot;Form1&amp;quot;&lt;br /&gt;
        Me.Text = &amp;quot;Form1&amp;quot;&lt;br /&gt;
        Me.ResumeLayout(False)&lt;br /&gt;
        Me.PerformLayout()&lt;br /&gt;
    End Sub&lt;br /&gt;
    Friend WithEvents LinkLabel1 As System.Windows.Forms.LinkLabel&lt;br /&gt;
    Friend WithEvents Button1 As System.Windows.Forms.Button&lt;br /&gt;
    Friend WithEvents Label1 As System.Windows.Forms.Label&lt;br /&gt;
End Class&lt;br /&gt;
   &lt;br /&gt;
    &lt;br /&gt;
  &amp;lt;/source&amp;gt;&lt;/div&gt;</summary>
		<author><name>Admin</name></author>	</entry>

	</feed>