new folder structure and new C# script host
This commit is contained in:
18
src/WPF/AboutWindow.xaml.cs
Normal file
18
src/WPF/AboutWindow.xaml.cs
Normal file
@@ -0,0 +1,18 @@
|
||||
|
||||
using System.Windows;
|
||||
using System.Windows.Input;
|
||||
|
||||
namespace mpvnet
|
||||
{
|
||||
public partial class AboutWindow : Window
|
||||
{
|
||||
public AboutWindow()
|
||||
{
|
||||
InitializeComponent();
|
||||
ContentBlock.Text = App.Version;
|
||||
}
|
||||
|
||||
protected override void OnPreviewKeyDown(KeyEventArgs e) => Close();
|
||||
protected override void OnMouseDown(MouseButtonEventArgs e) => Close();
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user