Esempio n. 1
0
 public void UnRegisterKey()
 {
     Win32API.UnregisterHotKey(Handle, (int)KeyHelp.OOS);
     Win32API.UnregisterHotKey(Handle, (int)KeyHelp.REMAINING);
     Win32API.UnregisterHotKey(Handle, (int)KeyHelp.ITEMLEVEL);
 }
Esempio n. 2
0
 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);
 }