From 8504165b13eac61fcd9dab59ba343bbc075de2ac Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Konrad=20Pierzy=C5=84ski?= Date: Tue, 29 Jan 2019 00:12:51 +0100 Subject: [PATCH] Added small bugfix with windows [closing on enter] --- Magazyn_Client/Magazyn/Windows/ErrorWindow.xaml | 2 +- Magazyn_Client/Magazyn/Windows/ErrorWindow.xaml.cs | 7 ++++++- Magazyn_Client/Magazyn/Windows/InfoWindow.xaml | 2 +- Magazyn_Client/Magazyn/Windows/InfoWindow.xaml.cs | 5 +++++ Magazyn_Client/Magazyn/Windows/ValueWindow.xaml | 2 +- Magazyn_Client/Magazyn/Windows/ValueWindow.xaml.cs | 7 ++++++- 6 files changed, 20 insertions(+), 5 deletions(-) diff --git a/Magazyn_Client/Magazyn/Windows/ErrorWindow.xaml b/Magazyn_Client/Magazyn/Windows/ErrorWindow.xaml index 599811e..4a7c743 100644 --- a/Magazyn_Client/Magazyn/Windows/ErrorWindow.xaml +++ b/Magazyn_Client/Magazyn/Windows/ErrorWindow.xaml @@ -15,7 +15,7 @@ xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" xmlns:local="clr-namespace:Magazyn.Windows" mc:Ignorable="d" - Title="Błąd" WindowStartupLocation="CenterOwner" Height="205" Width="220" ResizeMode="NoResize"> + Title="Błąd" WindowStartupLocation="CenterOwner" Height="205" Width="220" ResizeMode="NoResize" Keyboard.KeyDown="Window_KeyDown">