-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathAboutForm.cs
50 lines (43 loc) · 1.39 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
44
45
46
47
48
49
50
using OnTopper.Properties;
using System;
using System.Diagnostics;
using System.Globalization;
using System.Threading;
using System.Windows.Forms;
namespace OnTopper
{
public partial class AboutForm : Form
{
public AboutForm()
{
Thread.CurrentThread.CurrentUICulture = new CultureInfo(Settings.Default.LanguageAbbreviation.ToLower());
InitializeComponent();
label.Text = string.Format(label.Text, typeof(Program).Assembly.GetName().Version);
}
public void ShowDialogWithTopMostState(bool onTop)
{
TopMost = onTop;
ShowDialog();
}
private void LinkLabelSF_LinkClicked(object sender, LinkLabelLinkClickedEventArgs e)
{
Process.Start(linkLabelSF.Text);
}
private void LinkLabelSFTicket_LinkClicked(object sender, LinkLabelLinkClickedEventArgs e)
{
Process.Start(linkLabelSFTicket.Text);
}
private void ButtonClose_Click(object sender, EventArgs e)
{
Close();
}
private void LinkLabelGit_LinkClicked(object sender, LinkLabelLinkClickedEventArgs e)
{
Process.Start(linkLabelGit.Text);
}
private void LinkLabelTrello_LinkClicked(object sender, LinkLabelLinkClickedEventArgs e)
{
Process.Start(linkLabelTrello.Text);
}
}
}