/// <summary>
/// Returns if the specified key is printable or not
/// </summary>
/// <param name="key">key to check</param>
/// <returns>true if it is</returns>
public static bool IsPrintable(Keys key)
{
return(key == Keys.Enter || !char.IsControl((char)User32Interop.MapVirtualKey((int)key, 2)));
}