GameLauncher/PSLauncher/AboutBox1.cs

38 lines
990 B
C#
Raw Normal View History

2015-08-14 17:18:12 +00:00
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Diagnostics;
using System.Drawing;
using System.Linq;
using System.Reflection;
using System.Windows.Forms;
namespace PSLauncher
{
partial class About : Form
{
public About()
{
InitializeComponent();
2016-06-20 07:04:50 +00:00
this.Icon = System.Drawing.Icon.ExtractAssociatedIcon(Application.ExecutablePath);
2015-08-14 17:18:12 +00:00
System.Reflection.Assembly assembly = System.Reflection.Assembly.GetExecutingAssembly();
FileVersionInfo fvi = FileVersionInfo.GetVersionInfo(assembly.Location);
string version = fvi.FileVersion;
2016-06-20 03:02:15 +00:00
versionInfo.Text = "Version " + version;
2015-08-14 17:18:12 +00:00
}
private void linkLabel1_LinkClicked(object sender, LinkLabelLinkClickedEventArgs e)
{
System.Diagnostics.Process.Start(linkLabel1.Text);
}
private void label2_Click(object sender, EventArgs e)
{
}
}
}