예제 #1
0
        public void Reinitialize()
        {
            var old = _callback;

            _callback = KeyboardManager.GlobalCallback(RaiseEvents);
            old.Dispose();
        }
예제 #2
0
 public GlobalKeyboardHandler()
 {
     _semaphore = new SemaphoreSlim(1, 1);
     _callback  = KeyboardManager.GlobalCallback(RaiseEvents);
 }