public void AttachEventHandler(string eventName, EventHandler eventHandler)
        {
            HtmlDocumentShim documentShim = this.DocumentShim;

            if (documentShim != null)
            {
                documentShim.AttachEventHandler(eventName, eventHandler);
            }
        }
Ejemplo n.º 2
0
        /// <include file='doc\HtmlDocument.uex' path='docs/doc[@for="HtmlDocument.AttachEventHandler"]/*' />
        public void AttachEventHandler(string eventName, EventHandler eventHandler)
        {
            HtmlDocumentShim shim = DocumentShim;

            if (shim != null)
            {
                shim.AttachEventHandler(eventName, eventHandler);
            }
        }