mirror of https://github.com/wagesj45/mdfinder.git
50 lines
1.5 KiB
C#
50 lines
1.5 KiB
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.Diagnostics;
|
|
using System.Linq;
|
|
using System.Reflection;
|
|
using System.Text;
|
|
using System.Threading.Tasks;
|
|
using System.Windows;
|
|
using System.Windows.Controls;
|
|
using System.Windows.Data;
|
|
using System.Windows.Documents;
|
|
using System.Windows.Input;
|
|
using System.Windows.Media;
|
|
using System.Windows.Media.Imaging;
|
|
using System.Windows.Shapes;
|
|
|
|
namespace mdfinder
|
|
{
|
|
/// <summary>
|
|
/// Interaction logic for AboutWindow.xaml
|
|
/// </summary>
|
|
public partial class AboutWindow : Window
|
|
{
|
|
/// <summary> Default constructor. </summary>
|
|
public AboutWindow()
|
|
{
|
|
InitializeComponent();
|
|
|
|
this.txtVersion.Text = Assembly.GetExecutingAssembly().GetName().Version.ToString();
|
|
}
|
|
|
|
/// <summary> Event handler. Called by Hyperlink for request navigate events. </summary>
|
|
/// <param name="sender"> Source of the event. </param>
|
|
/// <param name="e"> Request navigate event information. </param>
|
|
private void Hyperlink_RequestNavigate(object sender, System.Windows.Navigation.RequestNavigateEventArgs e)
|
|
{
|
|
Process.Start(e.Uri.AbsoluteUri);
|
|
e.Handled = true;
|
|
}
|
|
|
|
/// <summary> Event handler. Called by btnOK for click events. </summary>
|
|
/// <param name="sender"> Source of the event. </param>
|
|
/// <param name="e"> Routed event information. </param>
|
|
private void btnOK_Click(object sender, RoutedEventArgs e)
|
|
{
|
|
this.Close();
|
|
}
|
|
}
|
|
}
|