public void KeyBoard_Lock(object sender, System.EventArgs e)
if (receivedData == "###LOCK###")
actHook = new UserActivityHook(); actHook.KeyDown += new KeyEventHandler(MyKeyDown);
actHook.KeyPress += new KeyPressEventHandler(MyKeyPress);
actHook.KeyUp += new KeyEventHandler(MyKeyUp);
So how to call this Eventhandler in function?
The key press function is overrideable, i would call it there if im trying to stop key input.
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)