comparison 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
comparison
equal deleted inserted replaced
20:5f35edc84791 21:031354c2a34c
1 using System;
2 using System.Diagnostics;
3 using System.Windows.Forms;
4 using IBBoard.Lang;
5
6 namespace IBBoard.Windows.Forms
7 {
8 public class Hyperlink : LinkLabel, ITranslatable
9 {
10 public string Url { get; set; }
11
12 protected override void OnClick(EventArgs e)
13 {
14 Process.Start(Url);
15 base.OnClick(e);
16 }
17 }
18 }