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