Flood.GUI.GwenInput.TranslateChar C# (CSharp) Method

TranslateChar() static private method

static private TranslateChar ( Keys key ) : char
key Keys
return char
        static char TranslateChar(Keys key)
        {
            if (key >= Keys.A && key <= Keys.Z)
                return (char)('a' + ((int)key - (int) Keys.A));
            return ' ';
        }