view Windows/Forms/Hyperlink.cs @ 21:031354c2a34c

* 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 source
1 ´╗┐using System;
2 using System.Diagnostics;
3 using System.Windows.Forms;
4 using IBBoard.Lang;
6 namespace IBBoard.Windows.Forms
7 {
8 public class Hyperlink : LinkLabel, ITranslatable
9 {
10 public string Url { get; set; }
12 protected override void OnClick(EventArgs e)
13 {
14 Process.Start(Url);
15 base.OnClick(e);
16 }
17 }
18 }