using System; using System.Diagnostics; using System.Windows.Forms; namespace Crypto_Notepad { public partial class AboutFrom : Form { public AboutFrom() { InitializeComponent(); } /*Form Events*/ private void AboutWindow_Load(object sender, EventArgs e) { Version vrs = new Version(Application.ProductVersion); appVersionLabel.Text = string.Format(PublicVar.appName + " {0}.{1}.{2}", vrs.Major, vrs.Minor, vrs.Build); } private void AboutFrom_Click(object sender, EventArgs e) { appLogoPictureBox.Focus(); } protected override bool ProcessDialogKey(Keys keyData) { if (ModifierKeys == Keys.None && keyData == Keys.Escape) { Close(); return true; } return base.ProcessDialogKey(keyData); } /*Form Events*/ /*Main Information*/ private void AppVersionLabel_Click(object sender, EventArgs e) { Process.Start("https://github.com/Crypto-Notepad/Crypto-Notepad/wiki/Release-Notes"); } private void AppInfoLabel1_LinkClicked(object sender, LinkLabelLinkClickedEventArgs e) { Process.Start("https://sigmanor.github.io/"); } private void AppInfoLabel2_LinkClicked(object sender, LinkLabelLinkClickedEventArgs e) { Process.Start("https://github.com/Crypto-Notepad/Crypto-Notepad/blob/master/LICENSE"); } private void AppInfoLabel3_LinkClicked(object sender, LinkLabelLinkClickedEventArgs e) { Process.Start("https://github.com/Crypto-Notepad/Crypto-Notepad"); } private void AppLogoPictureBox_Click(object sender, EventArgs e) { Process.Start("https://crypto-notepad.github.io/"); } /*Main Information*/ /*Perform open links*/ private void ThirdPartyDevRichTextBox_LinkClicked(object sender, LinkClickedEventArgs e) { Process.Start(e.LinkText); } private void ContributorsRichTextBox_LinkClicked(object sender, LinkClickedEventArgs e) { Process.Start(e.LinkText); } /*Perform open links*/ } }