20 lines
466 B
C#
20 lines
466 B
C#
using System.Windows;
|
|
using System.Windows.Input;
|
|
|
|
namespace mpvnet
|
|
{
|
|
public partial class AboutWindow : Window
|
|
{
|
|
public AboutWindow()
|
|
{
|
|
InitializeComponent();
|
|
Version.Text = $"Version {System.Windows.Forms.Application.ProductVersion}";
|
|
Foreground = WPF.WPF.ThemeBrush;
|
|
}
|
|
|
|
private void Window_PreviewKeyDown(object sender, KeyEventArgs e)
|
|
{
|
|
Close();
|
|
}
|
|
}
|
|
} |