YetAnotherRelogger.Helpers.Tools.KeyboardHook.KeyboardHook C# (CSharp) Method

KeyboardHook() public method

public KeyboardHook ( ) : System
return System
        public KeyboardHook()
        {
            // register the event of the inner native window.
            _window.KeyPressed += delegate(object sender, KeyPressedEventArgs args)
                                      {
                                          if (KeyPressed != null)
                                              KeyPressed(this, args);
                                      };
        }