-
Notifications
You must be signed in to change notification settings - Fork 29
/
Copy pathAboutForm.cs
31 lines (29 loc) · 896 Bytes
/
AboutForm.cs
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
using System;
using System.Drawing;
using System.Windows.Forms;
using System.Diagnostics;
using System.Reflection;
namespace INVedit
{
public partial class AboutForm : Form
{
public AboutForm()
{
InitializeComponent();
label1.Text = label1.Text.Replace("{version}", Assembly.GetExecutingAssembly().GetName().Version.ToString(3));
label1.Text = label1.Text.Replace("{net-version}", Environment.Version.ToString());
}
void LinkLabel1LinkClicked(object sender,LinkLabelLinkClickedEventArgs e)
{
Process.Start("http://www.icsharpcode.net/OpenSource/SD/");
}
void LinkLabel2LinkClicked(object sender,LinkLabelLinkClickedEventArgs e)
{
Process.Start("http://www.minecraftforum.net/viewtopic.php?t=15921");
}
void LinkLabel3LinkClicked(object sender, LinkLabelLinkClickedEventArgs e)
{
Process.Start("http://www.famfamfam.com/lab/icons/silk/");
}
}
}