protected override bool HandleRawKey(IWebBrowser browserControl, IBrowser browser, Keys key, CefEventFlags modifiers)
        {
            if (base.HandleRawKey(browserControl, browser, key, modifiers))
            {
                return(true);
            }

            return(form.ProcessBrowserKey(key));
        }
Exemplo n.º 2
0
 bool IKeyboardHandler.OnPreKeyEvent(IWebBrowser browserControl, IBrowser browser, KeyType type, int windowsKeyCode, int nativeKeyCode, CefEventFlags modifiers, bool isSystemKey, ref bool isKeyboardShortcut)
 {
     return(type == KeyType.RawKeyDown && form.ProcessBrowserKey((Keys)windowsKeyCode));
 }