public static Keys GetKeys(char c)
{
switch (c)
{
case '/':
return Keys.Oem2;
case '`':
return Keys.Oem3;
case '[':
return Keys.Oem4;
case '\\':
return Keys.Oem5;
case ']':
return Keys.Oem6;
case '-':
return (Keys)189;
}
return (Keys)Enum.Parse(typeof(Keys), c.ToString(), true);
}