-
Notifications
You must be signed in to change notification settings - Fork 0
/
AboutForm.cs
43 lines (38 loc) · 1.22 KB
/
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
32
33
34
35
36
37
38
39
40
41
42
43
using System;
using System.Windows.Forms;
namespace Etwap_Detector
{
public partial class AboutForm : Form
{
private readonly string Version = "201216";
public AboutForm()
{
InitializeComponent();
}
private void AboutForm_Load(object sender, EventArgs e)
{
}
private void LnklblVersion_LinkClicked(object sender, LinkLabelLinkClickedEventArgs e)
{
try
{
System.Diagnostics.Process.Start("https://servdocs.syafiqhadzir.dev/Projects/Etwap/" + Version + "/ReleaseNote.txt");
}
catch (Exception err)
{
MessageBox.Show(err.Message, "Error", MessageBoxButtons.OK, MessageBoxIcon.Error);
}
}
private void LnklblLicense_LinkClicked(object sender, LinkLabelLinkClickedEventArgs e)
{
try
{
System.Diagnostics.Process.Start("https://servdocs.syafiqhadzir.dev/Projects/Etwap/" + Version + "/License.txt");
}
catch (Exception err)
{
MessageBox.Show(err.Message, "Error", MessageBoxButtons.OK, MessageBoxIcon.Error);
}
}
}
}