using System; using System.Diagnostics; using System.Reflection; using System.Windows.Forms; namespace PortProxyGUI { public partial class About : Form { public readonly PortProxyGUI PortProxyGUI; public About(PortProxyGUI portProxyGUI) { PortProxyGUI = portProxyGUI; InitializeComponent(); label_version.Text = label_version.Text + " v" + Application.ProductVersion; } private void linkLabel1_Click(object sender, EventArgs e) { if (sender is LinkLabel _sender) { Process.Start("explorer", _sender.Text); } } private void About_FormClosing(object sender, FormClosingEventArgs e) { PortProxyGUI.AboutForm = null; } } }