This commit is contained in:
@@ -23,6 +23,8 @@ namespace VEPROMS
|
||||
this.labelCopyright.Text = AssemblyCopyright;
|
||||
this.labelCompanyName.Text = AssemblyCompany;
|
||||
this.textBoxDescription.Text = AssemblyDescription;
|
||||
this.labelCompanyName.Links[0].LinkData = "Volian Enterprises Inc.";
|
||||
this.labelCompanyName.Links.Add(0,23,"www.volian.com");
|
||||
}
|
||||
|
||||
#region Assembly Attribute Accessors
|
||||
@@ -111,5 +113,22 @@ namespace VEPROMS
|
||||
}
|
||||
}
|
||||
#endregion
|
||||
|
||||
private void labelCompanyName_LinkClicked(object sender, LinkLabelLinkClickedEventArgs e)
|
||||
{
|
||||
// Determine which link was clicked within the LinkLabel.
|
||||
this.labelCompanyName.Links[0].Visited = true;
|
||||
|
||||
// Display the appropriate link based on the value of the
|
||||
// LinkData property of the Link object.
|
||||
string target = e.Link.LinkData as string;
|
||||
|
||||
System.Diagnostics.Process.Start(target); // this should start the default web browser
|
||||
}
|
||||
|
||||
private void logoPictureBox_Click(object sender, EventArgs e)
|
||||
{
|
||||
System.Diagnostics.Process.Start(labelCompanyName.Links[0].LinkData as string); // this should start the default web browser
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user