public void AttachEventHandler(string eventName, EventHandler eventHandler) { HtmlDocumentShim documentShim = this.DocumentShim; if (documentShim != null) { documentShim.AttachEventHandler(eventName, eventHandler); } }
/// <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); } }