public virtual void Release(Keys key) { // Create the tuple var tuple = Tuple.Create(Window.Handle, key); // If the key is pressed with an interval if (PressedKeys.Contains(tuple)) PressedKeys.Remove(tuple); } #endregion