private void Key_F8_Pressed(object sender, KeyEventArgs e) { if (e.Key == Key.F8) { cameraSettings = new CameraSettings(); cameraSettings.Show(); } }