ARCed.Scintilla.Utilities.GetKeys C# (CSharp) Method

GetKeys() public static method

public static GetKeys ( string s ) : Keys
s string
return Keys
        public static Keys GetKeys(string s)
        {
            switch (s)
            {
                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), s, true);
        }

Same methods

Utilities::GetKeys ( char c ) : Keys