using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Linq; using System.Text; using System.Windows.Forms; using System.Diagnostics; namespace linklabelcontrols { public partial class Form1 : Form { public Form1() { InitializeComponent(); } private void Form1_Load(object sender, EventArgs e) { // Add a link to the LinkLabel. LinkLabel.Link link = new LinkLabel.Link(); link.LinkData = "http://www.codeproject.com"; linkLabel1.Links.Add(link); } private void linkLabel1_LinkClicked_1(object sender, LinkLabelLinkClickedEventArgs e) { //now connection process start here Process.Start(e.Link.LinkData as string); } } }
Image
PictureBox
Click
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)