public new void Focus() { IHTMLDocument2 wbDoc; IHTMLElement2 wbBody; control.SetFocus(); wbDoc = control.Document; if (wbDoc == null) { } else { wbBody = wbDoc.GetBody(); if (wbBody == null) { } else { wbBody.focus(); } } }