public void UnRegisterKey() { Win32API.UnregisterHotKey(Handle, (int)KeyHelp.OOS); Win32API.UnregisterHotKey(Handle, (int)KeyHelp.REMAINING); Win32API.UnregisterHotKey(Handle, (int)KeyHelp.ITEMLEVEL); }
private void InitRegisterKey() { Win32API.RegisterHotKey(Handle, (int)KeyHelp.OOS, (int)Win32API.KeyModifiers.None, (UInt32)Keys.F2); Win32API.RegisterHotKey(Handle, (int)KeyHelp.REMAINING, (int)Win32API.KeyModifiers.None, (UInt32)Keys.F3); Win32API.RegisterHotKey(Handle, (int)KeyHelp.ITEMLEVEL, (int)Win32API.KeyModifiers.None, (UInt32)Keys.F4); }