Пример #1
0
        protected bool RemoveHotKeyRegisterer(HotKeyRegisterer reg)
        {
            var succeeded = _hotKeyRegisterers.Remove(reg);

            if (succeeded)
            {
                reg.Dispose();
            }

            return(succeeded);
        }
Пример #2
0
 protected HotKeyRegisterer AddHotKeyRegisterer(HotKeyRegisterer reg)
 {
     _hotKeyRegisterers.Add(reg);
     return(reg);
 }