static void _rootControl_KeyUp(object sender, KeyEventArgs e) { keyboardState.RemovePressedKey((Keys)(int)e.Key); CheckModifiers(); }