Exemplo n.º 1
0
        public static void AddHotkey(TreeNode parent, string name, HotKeyCallback callback)
        {
            KeyData key = HotKey.Add(HKCategory.None, HKSubCat.None, name, callback);

            key.Remove();
            key.m_Node = HotKey.MakeNode(parent, key.StrName, key);
        }