Esempio n. 1
0
        public void Install(IntPtr windowHandle)
        {
            if (isInstalled)
            {
                throw new InvalidOperationException("This interceptor has already been installed.");
            }

            mainWindowHandle = windowHandle;
            hotkeyInterception.Start(windowHandle);

            isInstalled = true;
        }
Esempio n. 2
0
 public void Install(IntPtr windowHandle)
 {
     //TODO: proper exceptions for install for ALL installs (don't install when already installed etc).
     this.windowHandle = windowHandle;
     hotkeyInterception.Start(windowHandle);
 }