C # Open a Page using Link Label
C # Open a Page using Link
Label
This tutorial will show you how to open a page using LinkLabel
Drag a linkLabel from the control box to the form. Change it's
text properties to the page you like to open. In this tutorial I use Google:
Go to the code page and add
using System.Diagnostics;to the heading:
Then go back to the designer page and double click on link label.
Add the following highlighted code:
private
void linkLabel1_LinkClicked(object
sender, LinkLabelLinkClickedEventArgs e)
{
Process.Start("http://www.google.com");
}
Comments
Post a Comment