2016-01-07 15:00:49 +00:00
|
|
|
|
using System;
|
|
|
|
|
|
using System.Diagnostics;
|
|
|
|
|
|
using System.Windows.Forms;
|
|
|
|
|
|
|
2016-01-09 20:46:25 +00:00
|
|
|
|
namespace Crypto_Notepad
|
2016-01-07 15:00:49 +00:00
|
|
|
|
{
|
|
|
|
|
|
public partial class AboutFrom : Form
|
|
|
|
|
|
{
|
|
|
|
|
|
public AboutFrom()
|
|
|
|
|
|
{
|
|
|
|
|
|
InitializeComponent();
|
|
|
|
|
|
}
|
|
|
|
|
|
|
2018-12-25 15:49:29 +00:00
|
|
|
|
/*Form Events*/
|
2016-01-07 15:00:49 +00:00
|
|
|
|
private void AboutWindow_Load(object sender, EventArgs e)
|
|
|
|
|
|
{
|
|
|
|
|
|
Version vrs = new Version(Application.ProductVersion);
|
2018-12-25 15:49:29 +00:00
|
|
|
|
AppVersionLabel.Text = string.Format("Crypto Notepad " + "{0}.{1}.{2}", vrs.Major, vrs.Minor, vrs.Build);
|
2016-01-07 15:00:49 +00:00
|
|
|
|
}
|
|
|
|
|
|
|
2018-12-25 15:49:29 +00:00
|
|
|
|
private void AboutFrom_Click(object sender, EventArgs e)
|
2016-01-10 12:28:43 +00:00
|
|
|
|
{
|
2018-12-25 15:49:29 +00:00
|
|
|
|
AppLogoPictureBox.Focus();
|
2016-01-10 12:28:43 +00:00
|
|
|
|
}
|
2018-12-25 15:49:29 +00:00
|
|
|
|
/*Form Events*/
|
2016-01-10 12:28:43 +00:00
|
|
|
|
|
2018-12-25 15:49:29 +00:00
|
|
|
|
|
|
|
|
|
|
/*Main Information*/
|
|
|
|
|
|
private void AppVersionLabel_Click(object sender, EventArgs e)
|
2016-01-10 12:28:43 +00:00
|
|
|
|
{
|
2018-12-25 15:49:29 +00:00
|
|
|
|
Process.Start("https://github.com/Sigmanor/Crypto-Notepad/wiki/Release-Notes");
|
2016-01-07 15:00:49 +00:00
|
|
|
|
}
|
2016-01-15 16:13:33 +00:00
|
|
|
|
|
2018-12-25 15:49:29 +00:00
|
|
|
|
private void AuthorLinkLabel_LinkClicked(object sender, LinkLabelLinkClickedEventArgs e)
|
2016-01-15 16:13:33 +00:00
|
|
|
|
{
|
2018-12-25 15:49:29 +00:00
|
|
|
|
Process.Start("https://sigmanor.github.io/");
|
2016-01-15 16:13:33 +00:00
|
|
|
|
}
|
|
|
|
|
|
|
2018-12-25 15:49:29 +00:00
|
|
|
|
private void LicenseLinkLabel_LinkClicked(object sender, LinkLabelLinkClickedEventArgs e)
|
2018-02-17 12:47:21 +00:00
|
|
|
|
{
|
2018-12-25 15:49:29 +00:00
|
|
|
|
Process.Start("https://github.com/Sigmanor/Crypto-Notepad/blob/master/LICENSE");
|
2018-02-17 12:47:21 +00:00
|
|
|
|
}
|
|
|
|
|
|
|
2018-12-25 15:49:29 +00:00
|
|
|
|
private void GithubLinkLabel_LinkClicked(object sender, LinkLabelLinkClickedEventArgs e)
|
2018-02-17 12:47:21 +00:00
|
|
|
|
{
|
|
|
|
|
|
Process.Start("https://github.com/Sigmanor/Crypto-Notepad");
|
|
|
|
|
|
}
|
|
|
|
|
|
|
2018-12-25 15:49:29 +00:00
|
|
|
|
private void AppLogoPictureBox_Click(object sender, EventArgs e)
|
2018-02-17 12:47:21 +00:00
|
|
|
|
{
|
2018-12-25 15:49:29 +00:00
|
|
|
|
Process.Start("https://crypto-notepad.github.io/");
|
2018-02-17 12:47:21 +00:00
|
|
|
|
}
|
2018-12-25 15:49:29 +00:00
|
|
|
|
/*Main Information*/
|
|
|
|
|
|
|
2018-02-17 12:47:21 +00:00
|
|
|
|
|
2018-12-25 15:49:29 +00:00
|
|
|
|
/*Perform open links*/
|
|
|
|
|
|
private void TPDRichTextBox_LinkClicked(object sender, LinkClickedEventArgs e)
|
2016-01-15 16:13:33 +00:00
|
|
|
|
{
|
2018-12-25 15:49:29 +00:00
|
|
|
|
Process.Start(e.LinkText);
|
2016-01-15 16:13:33 +00:00
|
|
|
|
}
|
2018-12-25 15:49:29 +00:00
|
|
|
|
/*Perform open links*/
|
|
|
|
|
|
|
2016-01-07 15:00:49 +00:00
|
|
|
|
}
|
|
|
|
|
|
}
|