private void Form1_Load(object sender, EventArgs e) { uxLinkLabel.Text = "Yahoo\nGoogle"; uxLinkLabel.Links.Add(0,5,"http://www.yahoo.com"); uxLinkLabel.Links.Add(6,6,"http://www.google.com"); uxLinkLabel.LinkClicked += new LinkLabelLinkClickedEventHandler(uxLinkLabel_LinkClicked); } void uxLinkLabel_LinkClicked(object sender, LinkLabelLinkClickedEventArgs e) { string url = e.Link.LinkData.ToString(); System.Diagnostics.Process.Start(url); }
ScrewTurn Wiki version 3.0.1.400. Some of the icons created by FamFamFam. Except where noted, all contents Copyright © 1999-2024, Patrick Jasinski.