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

Popular posts from this blog

How to prepare your PC for the Windows 10 upgrade Source: WC

Top 5 Japanese Anime (Cartoons)

Salesforce LWC - Mass Approval Component