using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Text; using System.Windows.Forms; namespace VistaControlsCodePj { public partial class About : Form { public About() { InitializeComponent(); } private void button1_Click(object sender, EventArgs e) { this.Close(); } private void About_Load(object sender, EventArgs e) { LinkLabel.Link la_ = new LinkLabel.Link(); la_.Start = "View the ".Length; la_.Length = "CodeProject Article".Length; la_.Name = "CPjA"; this.linkLabel1.Links.Add(la_); } private void linkLabel1_LinkClicked(object sender, LinkLabelLinkClickedEventArgs e) { switch (e.Link.Name) { case "CPjA": try { VisitLink(); } catch (Exception ex) { MessageBox.Show(ex.Message); } break; } } private void VisitLink() { System.Diagnostics.Process.Start("http://www.codeproject.com/useritems/themedvistacontrols.asp"); } } }
By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.
If a file you wish to view isn't highlighted, and is a text file (not binary), please let us know and we'll add colourisation support for it.
This article, along with any associated source code and files, is licensed under The Microsoft Public License (Ms-PL)