Beispiel #1
0
 internal HandleUserInputsService(Form1 Form)
 {
     _form        = Form;
     _form.KeyId  = HotKeysService.SetHotKey(Keys.D | Keys.Control, _form.Handle);
     HookId       = IntPtr.Zero;
     WindowHookId = IntPtr.Zero;
 }
 internal HandleUserInputsService(HiddenForm hiddenForm)
 {
     _hiddenForm       = hiddenForm;
     _hiddenForm.KeyId = HotKeysService.SetHotKey(Keys.D | Keys.Control, _hiddenForm.Handle);
     HookId            = IntPtr.Zero;
     WindowHookId      = IntPtr.Zero;
 }