-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathForm2.cs
46 lines (44 loc) · 1.24 KB
/
Form2.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
44
45
46
using System;
using System.Diagnostics;
using System.Runtime.Versioning;
using System.Windows.Forms;
using BackupTool;
namespace FFXIVBackupTool
{
[SupportedOSPlatform("windows")]
public partial class Form2 : Form
{
public Form2()
{
InitializeComponent();
}
private void button2_Click(object sender, EventArgs e)
{
Close();
}
private void linkLabel1_LinkClicked(object sender, LinkLabelLinkClickedEventArgs e)
{
System.Diagnostics.Process.Start(new ProcessStartInfo
{
FileName = "https://github.com/wbsdty331/FFXIVBackupTool",
UseShellExecute = true
});
}
private void Form2_Load(object sender, System.EventArgs e)
{
label1.Text += " " + Form1.ToolVersion;
}
private void button2_Click_1(object sender, EventArgs e)
{
this.Close();
}
private void richTextBox1_LinkClicked(object sender, LinkClickedEventArgs e)
{
System.Diagnostics.Process.Start(new ProcessStartInfo
{
FileName = e.LinkText,
UseShellExecute = true
});
}
}
}