forked from amrali-eg/EncodingChecker
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathAboutForm.cs
More file actions
29 lines (26 loc) · 1.01 KB
/
AboutForm.cs
File metadata and controls
29 lines (26 loc) · 1.01 KB
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
using System.Diagnostics;
using System.Windows.Forms;
namespace EncodingChecker
{
public partial class AboutForm : Form
{
public AboutForm()
{
InitializeComponent();
}
private void OnFormLoad(object sender, System.EventArgs e)
{
lblHomepage.Links[0].LinkData = "https://github.com/amrali-eg/EncodingChecker";
lblAuthor.Links[0].LinkData = "https://github.com/JeevanJames";
lblLicense.Links[0].LinkData = "http://www.mozilla.org/MPL/MPL-1.1.html";
lblCreditsUde.Links[0].LinkData = "https://github.com/CharsetDetector/UTF-unknown";
lblCreditsCodePlex.Links[0].LinkData = "http://encodingchecker.codeplex.com";
}
private void OnLinkClicked(object sender, LinkLabelLinkClickedEventArgs e)
{
string url = (string)e.Link.LinkData;
ProcessStartInfo startInfo = new ProcessStartInfo(url) {UseShellExecute = true};
Process.Start(startInfo);
}
}
}