private void Window_KeyDown(object sender, KeyEventArgs e) { if (keyboardInputCheckBox.IsChecked == true) { if (screenshotTimer.IsEnabled) { Server.Send(ControlInput.KeyInfo(KeyInterop.VirtualKeyFromKey((e.Key))), zombie); } } }