示例#1
0
        public void Dispose()
        {
            if (null != _hotKey)
            {
                _hotKey.Dispose();
                _hotKey = null;
            }

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