
Untitled
By: a guest on
Aug 18th, 2012 | syntax:
None | size: 0.83 KB | hits: 8 | expires: Never
private void Form1_Load(object sender, EventArgs e)
{
linkLabel2.Click +=new EventHandler(delegate {
System.Diagnostics.Process.Start(@"http://hanssens.com");
}
);
linkLabel2.Click += new EventHandler(linkLabel2_Click);
linkLabel3.Click += delegate(object o, EventArgs args) {
System.Diagnostics.Process.Start(@"http://hanssens.com");
};
linkLabel4.NavigateUrl(new Uri(@"http://hanssens.com"));
}
void linkLabel2_Click(object sender, EventArgs e)
{
throw new NotImplementedException();
}
private void linkLabel1_LinkClicked(object sender, LinkLabelLinkClickedEventArgs e)
{
System.Diagnostics.Process.Start(@"http://hanssens.com");
}