This repository has been archived on 2025-07-21. You can view files and clone it, but you cannot make any changes to it's state, such as pushing and creating new issues, pull requests or comments.
EnvyUpdate/EnvyUpdate/InfoWindow.xaml.cs
2023-01-11 20:05:58 +01:00

31 lines
932 B
C#

using System;
using System.Windows;
using System.Windows.Input;
using System.IO;
namespace EnvyUpdate
{
/// <summary>
/// Interaction logic for InfoWindow.xaml
/// </summary>
public partial class InfoWindow : Window
{
public InfoWindow()
{
InitializeComponent();
System.Reflection.Assembly assembly = System.Reflection.Assembly.GetExecutingAssembly();
System.Diagnostics.FileVersionInfo fvi = System.Diagnostics.FileVersionInfo.GetVersionInfo(assembly.Location);
string version = fvi.FileVersion;
labelVer.Content += " " + version;
if (GlobalVars.monitoringInstall)
labelVer.FontStyle = FontStyles.Italic;
}
private void ButtonWeb_Click(object sender, RoutedEventArgs e)
{
System.Diagnostics.Process.Start("https://github.com/fyr77/EnvyUpdate/");
}
}
}