Mono.Terminal.Button.CheckKey C# (CSharp) Méthode

CheckKey() private méthode

private CheckKey ( int key ) : bool
key int
Résultat bool
        bool CheckKey(int key)
        {
            if (Char.ToUpper ((char)key) == hot_key){
                Container.SetFocus (this);
                if (Clicked != null)
                    Clicked (this, EventArgs.Empty);
                return true;
            }
            return false;
        }