UnregisterGlobalHotKey() public static method

public static UnregisterGlobalHotKey ( ushort hotkeyID, Form targetForm ) : void
hotkeyID ushort
targetForm System.Windows.Forms.Form
return void
 public void UnregisterAllOriginalHotkey()
 {
     foreach (ushort hotkeyId in this._hotkeyID.Keys)
     {
         Win32Api.UnregisterGlobalHotKey(hotkeyId, this._targetForm);
     }
     this._hotkeyID.Clear();
 }