Mercurial > repos > IBBoard.Windows.Forms
view Windows/Forms/Hyperlink.cs @ 21:031354c2a34c default tip
* Add Hyperlink that does sensible stuff by default
author | IBBoard <dev@ibboard.co.uk> |
---|---|
date | Sat, 19 May 2012 16:45:19 +0100 |
parents | |
children |
line wrap: on
line source
using System; using System.Diagnostics; using System.Windows.Forms; using IBBoard.Lang; namespace IBBoard.Windows.Forms { public class Hyperlink : LinkLabel, ITranslatable { public string Url { get; set; } protected override void OnClick(EventArgs e) { Process.Start(Url); base.OnClick(e); } } }