コード例 #1
0
ファイル: WebViewResult.cs プロジェクト: Redth/monodevelop-1
        bool CrashingTypeKey(char key, string state)
        {
            ParseModifier(state, out bool ctrl, out bool alt, out bool shift, out bool meta);

            var view = node.OwnerDocument.DefaultView;             //new FakeDomAbstractView ();//node.OwnerDocument.DefaultView;
            var ev   = new DomKeyboardEvent("keypress", true, true, view, "U+" + ((int)key).ToString("X4"), DomKeyLocation.Standard, ctrl, alt, shift, meta);

            return(node.DispatchEvent(ev));
        }