Initial Commit

This commit is contained in:
Andre Beging
2017-09-11 05:46:57 +02:00
parent 20199ef17c
commit 3d2d4851cc
37 changed files with 2513 additions and 0 deletions

View File

@@ -0,0 +1,40 @@
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Linq;
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;
using DebtMgr.Extensions;
namespace DebtMgr.View.Dialogs
{
/// <summary>
/// Interaktionslogik für DatabaseSelectorDialogView.xaml
/// </summary>
public partial class DatabaseSelectorDialogView : Window
{
public DatabaseSelectorDialogView()
{
InitializeComponent();
this.CenterOnParent();
App.Locator.DatabaseSelectorDialogView.RequestClose += (s, e) => Close();
DataContext = App.Locator.DatabaseSelectorDialogView;
}
private void Window_OnKeyUp(object sender, KeyEventArgs e)
{
if (e.Key.Equals(Key.Escape))
Application.Current.Shutdown();
}
}
}