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

32 lines
932 B
C#
Raw Normal View History

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();
2021-05-08 11:51:49 +02:00
System.Reflection.Assembly assembly = System.Reflection.Assembly.GetExecutingAssembly();
System.Diagnostics.FileVersionInfo fvi = System.Diagnostics.FileVersionInfo.GetVersionInfo(assembly.Location);
string version = fvi.FileVersion;
2021-05-08 11:51:49 +02:00
labelVer.Content += " " + version;
2023-01-11 20:05:58 +01:00
if (GlobalVars.monitoringInstall)
labelVer.FontStyle = FontStyles.Italic;
}
private void ButtonWeb_Click(object sender, RoutedEventArgs e)
{
System.Diagnostics.Process.Start("https://github.com/fyr77/EnvyUpdate/");
}
}
}