Ejemplo n.º 1
0
        public void Dispose()
        {
            if (null != _hotKey)
            {
                _hotKey.Dispose();
                _hotKey = null;
            }

            if (null != _notify)
            {
                _notify.Visible = false;
                _notify.Dispose();
                _notify = null;
            }
        }
Ejemplo n.º 2
0
 /// <summary>
 /// Calls Dispose: Unregisters the hotkey
 /// </summary>
 /// <param name="h">The Hotkey</param>
 public static void UnRegister(Hotkey h)
 {
     h.Dispose();
 }
Ejemplo n.º 3
0
 /// <summary>
 /// Calls Dispose: Unregisters the hotkey
 /// </summary>
 /// <param name="h">The Hotkey</param>
 public static void UnRegister(Hotkey h)
 {
     h.Dispose();
 }