private void WindowKeyDown(object sender, KeyEventArgs e) { if (e.Key == Key.Up || e.Key == Key.Right || e.Key == Key.Down || e.Key == Key.Left) { _controlManager.KeyMoveSelected(e.Key); if (_controlManager.MoveSpeed <= 10) { _controlManager.MoveSpeed += 0.5; } } else if ((e.KeyboardDevice.Modifiers & ModifierKeys.Control) == ModifierKeys.Control) { switch (e.Key) { case Key.S: SaveEasyImageToFile(null, null); break; case Key.Z: _controlManager.UnExecute(); break; case Key.A: _controlManager.SelectAll(); break; case Key.C: _controlManager.CopySelected(); break; case Key.V: PasteImagesFromClipboard(null, null); break; case Key.X: _controlManager.ClipSelected(); break; case Key.Y: _controlManager.ReExecute(); break; case Key.O: LoadEasyImageFromFile(null, null); break; } } else if (e.Key == Key.Delete) { _controlManager.RemoveSelected(); } }